Struct AnimationEvent
- Assembly
- ValveResourceFormat.dll
Represents an event that occurs at a specific frame in an animation.
public readonly struct AnimationEvent
Inherited Members
Constructors
AnimationEvent(KVObject)
Initializes a new instance of the ValveResourceFormat.ResourceTypes.ModelAnimation.AnimationEvent struct.
public AnimationEvent(KVObject data)
Parameters
data
KVObject
Properties
Cycle
Gets or sets the normalized cycle time of the event.
public float Cycle { get; init; }
Property Value
EventData
Gets or sets the event data.
public KVObject EventData { get; init; }
Property Value
Frame
Gets or sets the frame at which the event occurs.
public int Frame { get; init; }
Property Value
Name
Gets or sets the name of the event.
public string Name { get; init; }
Property Value
Options
Gets or sets the event options.
public string Options { get; init; }