Gets or sets the factor used when mixing the ambient color with the image.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Property Ambient As Integer |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As LightCommand
Dim value As Integer
instance.Ambient = value
value = instance.Ambient |
| C# | |
|---|
public int Ambient {get; set;} |
| C++/CLI | |
|---|
public:
property int Ambient {
int get();
void set ( int value);
} |
Property Value
Factor used when mixing the ambient color with the image. This property only accepts positive values.
Example
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
See Also