Device.NPatchMode Property (Microsoft.DirectX.Direct3D)

Retrieves or sets the N-patch mode segments.

Definition

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