Language

XFileGuid.Frame Field (Microsoft.DirectX.Direct3D)

Retrieves the globally unique identifier (GUID) for a frame.

Definition

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

Field Value

System.Guid
A GuidLeave Site value that is used for frames.

This field is read-only. 

Remarks

A frame is a coordinate frame, or "frame of reference." The Frame template is open and can contain any object. The mesh-loading functions recognize Mesh, FrameTransformMatrix, and Frame template instances as child objects when loading a Frame instance.

The following is a Frame template.

[C#]template Frame
{
    < 3D82AB46-62DA-11CF-AB39-0020AF71E433 >
    [...]       
}
  • [ ... ] - Any .x file template can be used here making the architecture extensible.

The frame template recognizes child Frame and Mesh nodes inside of a frame, and user-defined templates through a callback function.