Eyeshot 9.0 WinForms API Reference
SetLightPosition Method (RenderContextBase)

WinForms Assembly > devDept.Graphics Namespace > RenderContextBase Class : SetLightPosition Method
Light index
Light type
Light direction
Light position (spot and point light only)
Sets the light position.
Syntax
'Declaration
 
Public MustOverride Sub SetLightPosition( _
   ByVal lightIndex As Integer, _
   ByVal lightType As lightType, _
   ByVal dir() As Single, _
   ByVal position() As Single _
) 
public abstract void SetLightPosition( 
   int lightIndex,
   lightType lightType,
   float[] dir,
   float[] position
)

Parameters

lightIndex
Light index
lightType
Light type
dir
Light direction
position
Light position (spot and point light only)
See Also

Reference

RenderContextBase Class
RenderContextBase Members