new(light:Light, useWorldDist:Bool)
read onlyfaceMask:EnumFlags<CubeFaceFlag>
@: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
getShadowProj():Matrix
getShadowTex():Texture
setContext(ctx:RenderContext):Void