@:value({ size : 1024 })new(size:Int = 1024, ?format:PixelFormat)
color:Vector
@:value(true)autoShrink:Bool = true
Shrink the frustum of the light to the bounds containing all visible objects
@:value(false)autoZPlanes:Bool = false
For top down lights and cameras, use scene Z min/max to optimize shadowmap. Requires autoShrink
debug:Bool
@:value(-1.0)maxDist:Float = -1.0
Clamp the zFar of the frustum of the camera for bounds calculation
@:value(-1.0)minDist:Float = -1.0
Clamp the zNear of the frustum of the camera for bounds calculation
@:value(0.01)bias:Float = 0.01
blur:Blur
@:value(true)enabled:Bool = true
@:value(None)mode:RenderMode = None
@:value(1)pcfQuality:Int = 1
@:value(1.0)pcfScale:Float = 1.0
@:value(30.0)power:Float = 30.0
@:value(None)samplingKind:ShadowSamplingKind = None
read onlyshader:Shader
@:value(1024)size:Int = 1024
read onlyname:String
dynamiccalcShadowBounds(camera:Camera):Void
getShadowProj():Matrix
needStaticUpdate():Void
Triggers update of static part of shadows (if any).
setContext(ctx:RenderContext):Void