ImageGear .NET v25.2 - Updated
Direction Property (ImGearVectorLightSource)




ImageGear.Formats.Vector Assembly > ImageGear.Vector Namespace > ImGearVectorLightSource Class : Direction Property
Gets or sets a light source direction. The direction is presented as an array of three direction components (x, y, z).
Syntax
'Declaration
 
Public Property Direction As Single()
'Usage
 
Dim instance As ImGearVectorLightSource
Dim value() As Single
 
instance.Direction = value
 
value = instance.Direction
public float[] Direction {get; set;}
public: __property float[]* get_Direction();
public: __property void set_Direction( 
   float[][]* value
);
public:
property array<float>^ Direction {
   array<float>^ get();
   void set (    array<float>^ value);
}

Property Value

An array of three vector components - x, y and z.
Remarks
The default value is (0, 0, 1).
See Also

Reference

ImGearVectorLightSource Class
ImGearVectorLightSource Members

Is this page helpful?
Yes No
Thanks for your feedback.