ImageGear .NET - Updated
Direction Property (ImGearVectorLightSource)




ImageGear23.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