ImageGear .NET v25.2 - Updated
ImageGear.Formats.Vector Assembly / ImageGear.Vector Namespace / ImGearVectorLightSource Class / SpecularColor Property




In This Topic
    SpecularColor Property
    In This Topic
    Gets or sets a specular 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 SpecularColor As Single()
    'Usage
     
    Dim instance As ImGearVectorLightSource
    Dim value() As Single
     
    instance.SpecularColor = value
     
    value = instance.SpecularColor
    public float[] SpecularColor {get; set;}
    public: __property float[]* get_SpecularColor();
    public: __property void set_SpecularColor( 
       float[][]* value
    );
    public:
    property array<float>^ SpecularColor {
       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