Instance Propertymigueldeicaza.swiftgodot 0.45.0SwiftGodot
occluderLightMask
The LightOccluder2D’s occluder light mask. The LightOccluder2D will cast shadows only from Light2D(s) that have the same light mask(s).
LightOccluder2D.swift:41final var occluderLightMask: Int32 { get set }
Other members in extension
Type members
Instance members
var occluder: OccluderPolygon2D?
The
OccluderPolygon2D
used to compute the shadow.var sdfCollision: Bool
If enabled, the occluder will be part of a real-time generated signed distance field that can be used in custom shaders.