#region File Description
//-----------------------------------------------------------------------------
// AvatarKeyframe.cs
//
// Microsoft XNA Community Game Platform
// Copyright (C) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------------------------
#endregion
#region Using Statements
using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
#endregion
namespace CustomAvatarAnimation
{
///
/// Describes the position of a single bone at a single point in time.
///
public struct AvatarExpressionKeyFrame
{
///
/// The time offset from the start of the animation to this keyframe.
///
public TimeSpan Time;
///
/// The AvatarExpression to use at this keyframe
///
public AvatarExpression Expression;
#region Initialization
///
/// Constructs a new AvatarExpressionKeyFrame object.
///
public AvatarExpressionKeyFrame(TimeSpan time, AvatarExpression expression)
{
Time = time;
Expression = expression;
}
#endregion
}
}