ImageGear .NET v24.14 - Updated
AmbientColor Property (ImGearVectorLightSource)




ImageGear24.Formats.Vector Assembly > ImageGear.Vector Namespace > ImGearVectorLightSource Class : AmbientColor Property
Gets or sets an ambient color of light source. The color is presented as an array of four color components (red, green, blue, alpha). Usually the component belongs to the range 0...1, but can be greater than 1.
Syntax
'Declaration
 
Public Property AmbientColor As Single()
'Usage
 
Dim instance As ImGearVectorLightSource
Dim value() As Single
 
instance.AmbientColor = value
 
value = instance.AmbientColor
public float[] AmbientColor {get; set;}
public: __property float[]* get_AmbientColor();
public: __property void set_AmbientColor( 
   float[][]* value
);
public:
property array<float>^ AmbientColor {
   array<float>^ get();
   void set (    array<float>^ value);
}

Property Value

An array of 4 color components - red, green, blue and alpha.
Remarks
The default value is (0.5, 0.5, 0.5, 1).
See Also

Reference

ImGearVectorLightSource Class
ImGearVectorLightSource Members