ImageGear .NET
DiffuseColor Property




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
'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
The default value is (0, 0, 0, 1).
See Also

Reference

ImGearVectorLightSource Class
ImGearVectorLightSource Members

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback