Class AnimationClipModel
Class that defines an animation.
Namespace: Evergine.Exporter.Assets.Model.Animations
Assembly: Evergine.Framework.dll
Syntax
public class AnimationClipModel
Constructors
AnimationClipModel()
Initializes a new instance of the AnimationClipModel class.
Declaration
public AnimationClipModel()
Properties
AdditiveReferenceFrame
Gets or sets the subtracted animation frame.
Declaration
[RenderProperty(AttachToTag = 1, AttachToValue = true)]
public int AdditiveReferenceFrame { get; set; }
Property Value
Type | Description |
---|---|
int |
AdditiveReferenceSourceTrack
Gets or sets the source track name.
Declaration
public string AdditiveReferenceSourceTrack { get; set; }
Property Value
Type | Description |
---|---|
string |
EndTime
Gets or sets the end time.
Declaration
public float EndTime { get; set; }
Property Value
Type | Description |
---|---|
float |
Events
Gets or sets the keyframe events.
Declaration
public List<AnimationKeyframeEvent> Events { get; set; }
Property Value
Type | Description |
---|---|
List<AnimationKeyframeEvent> |
InPlaceMode
Gets or sets the in-place mode.
Declaration
public AnimationInPlaceMode InPlaceMode { get; set; }
Property Value
Type | Description |
---|---|
AnimationInPlaceMode |
Name
Gets or sets the name.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
RootMotion
Gets or sets a value indicating whether root motion is applied.
Declaration
[RenderProperty(Tag = 2)]
public bool RootMotion { get; set; }
Property Value
Type | Description |
---|---|
bool |
RootMotionNode
Gets or sets a value indicating whether the root motion is applied.
Declaration
public string RootMotionNode { get; set; }
Property Value
Type | Description |
---|---|
string |
SourceTrack
Gets or sets the source track.
Declaration
[EvergineMember]
public string SourceTrack { get; set; }
Property Value
Type | Description |
---|---|
string |
StartTime
Gets or sets the start time.
Declaration
public float StartTime { get; set; }
Property Value
Type | Description |
---|---|
float |
Type
Gets or sets the animation type.
Declaration
public AnimationClipType Type { get; set; }
Property Value
Type | Description |
---|---|
AnimationClipType |