RenderStateManager.AntiAliasedLineEnable Property |
Language: |
Retrieves or sets antialiasing of lines.
Visual Basic .NET Public Property AntiAliasedLineEnable As Boolean C# public bool AntiAliasedLineEnable { get; set; } Managed C++ public: __property bool get_AntiAliasedLineEnable();
public: __property void set_AntiAliasedLineEnable(bool);JScript .NET public function get AntiAliasedLineEnable() : boolean
public function set AntiAliasedLineEnable(boolean);
System.Boolean . Set to true to enable antialiasing of lines, or false to disable it. The default value is false.
This property is read/write.
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.
Feedback? Please provide us with your comments on this topic.