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