Table of Contents

Struct AnimationEvent

Namespace
ValveResourceFormat.ResourceTypes.ModelAnimation
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

float

EventData

Gets or sets the event data.

public KVObject EventData { get; init; }

Property Value

KVObject

Frame

Gets or sets the frame at which the event occurs.

public int Frame { get; init; }

Property Value

int

Name

Gets or sets the name of the event.

public string Name { get; init; }

Property Value

string

Options

Gets or sets the event options.

public string Options { get; init; }

Property Value

string