Skip to main content

Class: AnimationInput<T>

Defined in: animations/types/AnimationInputs.ts:35

Generic Class representing a single animation input with common values.

Type Parameters

T

T

Constructors

Constructor

new AnimationInput<T>(name, options): AnimationInput<T>

Defined in: animations/types/AnimationInputs.ts:54

Creates a new instance of AnimationInput.

Parameters

name

string

the name of the input

options

AnimationInputOptions<T>

the options for the input

Returns

AnimationInput<T>

Properties

name

name: string

Defined in: animations/types/AnimationInputs.ts:39

The name of the input.


options

options: AnimationInputOptions<T>

Defined in: animations/types/AnimationInputs.ts:47

The options for the input.


value

value: T

Defined in: animations/types/AnimationInputs.ts:43

The current value of the input.