RenderStateManager.AntiAliasedLineEnable Property |
Language: |
Retrieves or sets antialiasing of lines.
Visual Basic Public Property AntiAliasedLineEnable As Boolean C# public bool AntiAliasedLineEnable { get; set; } C++ public:
property bool AntiAliasedLineEnable {
bool get();
void set(bool value);
}JScript public function get AntiAliasedLineEnable() : boolean
public function set AntiAliasedLineEnable(boolean);
System.Boolean
This property is read/write.
Set to true to enable antialiasing of lines, or false to disable it. The default value is false.
The AntiAliasedLineEnable property applies to triangles drawn in wireframe mode as well as line-drawing primitive types.
When rendering to a multisample render target, this render state is ignored, and all lines are rendered aliased. For antialiased line rendering in multisample render targets, use a Line object, which generates textured polygons.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.