Share via


XFileGuid.MaterialWrap Field (Microsoft.DirectX.Direct3D)

Retrieves the globally unique identifier (GUID) for material wrap templates.

Definition

Visual Basic Public Shared MaterialWrap As GuidLeave Site
C# public static GuidLeave Site MaterialWrap;
C++ public: static GuidLeave Site MaterialWrap;
JScript public static var MaterialWrap : GuidLeave Site

Field Value

System.Guid
A GuidLeave Site value that contains the GUID for material wrap templates.

This field is read-only. 

Remarks

Material wrap templates define a set of two Boolean values that are used in the MeshFaceWraps template to define the texture topology of an individual face. Use this template instead of Boolean2d when the texture coordinates (u, v) span the range of 0 to 2 instead of 0 to 1. The following is a MaterialWrap template.

[C#]template MaterialWrap
{
    < 4885ae60-78e8-11cf-8f52-0040333594a3 >
    Boolean u;
    Boolean v;
}

Where:

**Note: **The MeshFaceWraps template is no longer used.