TextureStateManager.ConstantColor Property |
Language: |
Defines the per-stage constant color.
Visual Basic Public Property ConstantColor As Color C# public Color ConstantColor { get; set; } C++ public:
property Color ConstantColor {
Color get();
void set(Color value);
}JScript public function get ConstantColor() : Color
public function set ConstantColor(Color);
System.Drawing.Color
This property is read/write.
A Colorobject that represents the drawing color.
To determine whether the current device supports a per-stage constant color, use the MiscCaps.SupportsPerStageConstant property. The ConstantColor property is used by TextureArgument.Constant.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.