TextureStateManager.ConstantColor Property

Language:

Note: This documentation is preliminary and is subject to change.

Defines the per-stage constant color.

Definition

Visual Basic .NET Public Property ConstantColor As Color
C# public Color ConstantColor { get; set; }
Managed C++ public: __property Color get_ConstantColor();
public: __property void set_ConstantColor(Color);
JScript .NET public function get ConstantColor() : Color
public function set ConstantColor(Color);

Property Value

System.Drawing.Color . A Color Leave Site object that represents the drawing color.

This property is read/write. 

Remarks

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.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.