RenderContextBase.SetLightPosition Method
Sets the light position.
Public MustOverride Sub SetLightPosition( _
ByVal lightIndex As Integer, _
ByVal lightType As lightType, _
ByVal dir As Single(), _
ByVal position As Single() _
)
This language is not supported or no code example is available.
This language is not supported or no code example is available.
Parameters
-
lightIndex
-
int
Light index
-
lightType
-
lightType
Light type
-
dir
-
float[]
Light direction
-
position
-
float[]
Light position (spot and point light only)
.NET Framework
Supported in: 4.8