DicomObjects.NET.8.48 Documentation
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 read-write property LightDirection: SharpDX.Vector3; 
    public function get,set LightDirection : SharpDX.Vector3
    public: __property SharpDX.Vector3 get_LightDirection();
    public: __property void set_LightDirection( 
       SharpDX.Vector3 value
    );
    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.8 or higher

    See Also