Microsoft DirectX 9.0 SDK Update (October 2004)

Device.NPatchMode Property

Language:

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

Retrieves or sets the N-patch mode segments.

Definition

Visual Basic .NET Public Property NPatchMode As Single
C# public float NPatchMode { get; set; }
Managed C++ public: __property float get_NPatchMode();
public: __property void set_NPatchMode(float);
JScript .NET public function get NPatchMode() : float
public function set NPatchMode(float);

Property Value

System.Single . Specifies the number of subdivision segments. If the number is less than 1.0, N-patches are disabled. The default value is 0.0.

This property is read/write. 

Remarks

Exceptions
InvalidCallException Occurs if the method call is invalid. For example, a parameter might contain an invalid value.


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

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center