Share via


XFileGuid.AnimationOptions Field (Microsoft.DirectX.Direct3D)

Retrieves the globally unique identifier (GUID) for animation options.

Definition

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

Field Value

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

This field is read-only. 

Remarks

The following C# code provides an example of an AnimationOptions template.

[C#]template AnimationOptions
{
    < E2BF56C0-840F-11cf-8F52-0040333594A3 >
    DWORD openclosed;
    DWORD positionquality;
}

Where:

  • openclosed - Use 0 for a closed animation, or 1 for an open animation. An animation is closed by default.
  • positionquality - Set the position quality for any position keys specified. Use 0 for spline positions, or 1 for linear positions.