ImageGear .NET v25.2 - Updated
ImageGear.Formats.Vector Assembly / ImageGear.Vector Namespace / ImGearVectorView Class / AmbientColor Property




In This Topic
    AmbientColor Property (ImGearVectorView)
    In This Topic
    Gets or sets ambient color of the view.
    Syntax
    'Declaration
     
    Public Property AmbientColor As Single()
    'Usage
     
    Dim instance As ImGearVectorView
    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 four floating-point color components.
    Remarks
    The ambient color is presented by an array of four floating point values - red, green, blue and alpha. Usually the floating-point color component belongs to the range of 0...1, but can be greater than 1. Ambient color is taken into account only if LightingEnabled property is set to true..
    See Also