Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Graphics Namespace / RenderContextBase Class / SetLightPosition Method
Light index
Light type
Light direction
Light position (spot and point light only)

In This Topic
    SetLightPosition Method (RenderContextBase)
    In This Topic
    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