Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Graphics Namespace / LightSettings Class / GetLightDirection Method
The camera modelview matrix
Returns the world direction for directional and spot lights
Returns the position for the point and spot lights

In This Topic
    GetLightDirection Method
    In This Topic
    Gets the light direction.
    Syntax
    'Declaration
     
    Public Sub GetLightDirection( _
       ByVal modelViewMatrix() As Double, _
       ByRef direction As Single(), _
       ByRef position As Single() _
    ) 
    public void GetLightDirection( 
       double[] modelViewMatrix,
       out float[] direction,
       out float[] position
    )

    Parameters

    modelViewMatrix
    The camera modelview matrix
    direction
    Returns the world direction for directional and spot lights
    position
    Returns the position for the point and spot lights
    See Also