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
Visual Basic
C#
Managed Extensions for C++
C++/CLI
'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
See Also