DicomObjects.NET.V8
DicomObjects Namespace / DicomImage3D Class / LightDirection Property



In This Topic
    LightDirection Property
    In This Topic
    The direction of the ambient light, relative to the eye position
    Syntax
    'Declaration
     
    Public Property LightDirection As SharpDX.Vector3
    'Usage
     
    Dim instance As DicomImage3D
    Dim value As SharpDX.Vector3
     
    instance.LightDirection = value
     
    value = instance.LightDirection
    public SharpDX.Vector3 LightDirection {get; set;}
    public:
    property SharpDX.Vector3 LightDirection {
       SharpDX.Vector3 get();
       void set (    SharpDX.Vector3 value);
    }
    Remarks
    The default value is (0,1,1), corresponding to a light source directly above the eye position, shining downwards at 45 degrees.
    Requirements

    Target Platforms: .NET CLR 4.0 or higher

    See Also