Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NLightSource Class / CoordinateMode Property


In This Topic
    CoordinateMode Property
    In This Topic
    Gets/sets a value indicating whether the light source position and direction are specified in model space or in camera space.
    Syntax
    'Declaration
     
    
    Public Property CoordinateMode As ENLightSourceCoordinateMode
    'Usage
     
    
    Dim instance As NLightSource
    Dim value As ENLightSourceCoordinateMode
     
    instance.CoordinateMode = value
     
    value = instance.CoordinateMode
    public ENLightSourceCoordinateMode CoordinateMode {get; set;}
    Remarks
    Light sources that are defined in model space remain static in relation to the scene when the camera is moved. Light sources that are defined in camera space are "attached" to the camera. By default the coordinates are specified in model space.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also