Gets or sets a diffuse 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, put can be greater than 1.
Syntax
Visual Basic
C#
Managed Extensions for C++
C++/CLI
'Declaration
Public Property DiffuseColor As Single()
'Usage
Dim instance As ImGearVectorLightSource
Dim value() As Single
instance.DiffuseColor = value
value = instance.DiffuseColor
public float[] DiffuseColor {get; set;}
public: __property float[]* get_DiffuseColor();
public: __property void set_DiffuseColor(
float[]* value
);
public:
property array<float>^ DiffuseColor {
array<float>^ get();
void set ( array<float>^ value);
}
Property Value
An array of four color components - red, green, blue and alpha.
Remarks
See Also