Device.NPatchMode Property

Language:

Retrieves or sets the N-patch mode segments.

Definition

Visual Basic Public Property NPatchMode As Single
C# public float NPatchMode { get; set; }
C++ public:
property float NPatchMode {
        float get();
        void set(float value);
}
JScript 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.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

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