Language

XFileGuid.Animation Field (Microsoft.DirectX.Direct3D)

Retrieves the globally unique identifier (GUID) for animation.

Definition

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

Field Value

System.Guid
A GuidLeave Site value that is used for animation templates in XFiles (.x files).

This field is read-only. 

Remarks

Animation templates in XFiles contain animations that reference a previous frame. The template should contain one reference to a frame and at least one set of AnimationKey templates. It also can contain an AnimationOptions data object. The following C# code provides an example.

              [C#]
              template Animation
{
    < 3D82AB4F-62DA-11cf-AB39-0020AF71E433 >
    [...]
}

Where:

  • [ ... ] - Any .x file template can be used here making the architecture extensible.