Share via


XFileGuid.AnimationKey Field (Microsoft.DirectX.Direct3D)

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

Definition

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

Field Value

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

This field is read-only. 

Remarks

The following C# code is an AnimationKey template.

[C#]template AnimationKey
{
    < 10DD46A8-775B-11CF-8F52-0040333594A3 >
    DWORD keyType;
    DWORD nKeys;
    array TimedFloatKeys keys[nKeys];
}

Where:

  • keyType - Specifies whether the keys are rotation, scale, position, or matrix keys (using the integers 0, 1, 2, or 3 respectively).
  • nKeys - Number of keys.
  • keys - Array of keys. See TimedFloatKeys.