Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Key<ValueType>

Keyframe objects, which can be accessed via the property method property.key()

Type parameters

Hierarchy

  • Key

Index

Constructors

Properties

Constructors

constructor

  • new Key<ValueType>(keyValue: ValueType): Key<ValueType>
  • Type parameters

    Parameters

    • keyValue: ValueType

    Returns Key<ValueType>

Properties

Readonly index

index: number = 1

The index of the keyframe, e.g. The 1st keyframe on the property. Starts from 0.

Readonly time

time: number = 0

The location of the keyframe in time

Readonly value

value: ValueType

The value of the keyframe

Generated using TypeDoc