class com.babylonhx.lights.DirectionalLight extends Light implements IShadowLight

Available on all platforms

... @author Krtolica Vujadin

Instance Fields

function new(name:String, direction:Vector3, scene:Scene):Void

function getShadowDirection(?faceIndex:Int):Vector3

function needCube():Bool

function setShadowProjectionMatrix(matrix:Matrix, viewMatrix:Matrix, renderList:Array<AbstractMesh>):Void

function supportsVSM():Bool

function transferToEffect(effect:Effect, ?directionUniformName:String, ?extra_UNUSED_PARAM:String):Void