Share via


TrianglePatchInformation.Degree Property (Microsoft.DirectX.Direct3D)

Retrieves or sets a value that defines the degree type for the triangular high-order patch.

Definition

Visual Basic Public Property Degree As DegreeType
C# public DegreeType Degree { get; set; }
C++ public:
property DegreeType Degree {
        DegreeType get();
        void set(DegreeType value);
}
JScript public function get Degree() : DegreeType
public function set Degree(DegreeType);

Property Value

Microsoft.DirectX.Direct3D.DegreeType
Value from the DegreeType enumeration to set or retrieve.

This property is read/write. 

Remarks

The following values define the degree type for the triangular high-order patch.

Value Number of vertices
Cubic 10
Linear 3
Quadratic Not supported.
Quintic 21