Open Class Propertymigueldeicaza.swiftgodot 0.45.0SwiftGodot
godotClassName
LightOccluder2D.swift:12override class var godotClassName: StringName { get }
Overrides
Other members in extension
Instance members
var occluder: OccluderPolygon2D?
The
OccluderPolygon2D
used to compute the shadow.var occluderLightMask: Int32
The LightOccluder2D’s occluder light mask. The LightOccluder2D will cast shadows only from Light2D(s) that have the same light mask(s).
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.