Skip to content

Class: KeyframeT

Constructors

Properties

Methods

Constructors

constructor

new KeyframeT(time?): KeyframeT

Parameters

NameTypeDefault value
timenumber0

Returns

KeyframeT

Defined in

src/math/enum/T/KeyframeT.ts:26

Properties

serializedVersion

serializedVersion: string = '2'

Defined in

src/math/enum/T/KeyframeT.ts:14


time

time: number

Defined in

src/math/enum/T/KeyframeT.ts:15


tangentMode

tangentMode: number = 0

Defined in

src/math/enum/T/KeyframeT.ts:16


weightedMode

weightedMode: number = 0

Defined in

src/math/enum/T/KeyframeT.ts:17


propertyKeyFrame

propertyKeyFrame: Object

Index signature

▪ [k: number]: Keyframe

Defined in

src/math/enum/T/KeyframeT.ts:24

Methods

getK

getK(k): Keyframe

Parameters

NameType
knumber

Returns

Keyframe

Defined in

src/math/enum/T/KeyframeT.ts:31


split

split(type, value, property): void

Parameters

NameType
typeValueEnumType
valueCurveValueType
propertystring

Returns

void

Defined in

src/math/enum/T/KeyframeT.ts:35


formBytes

formBytes(bytes): void

Parameters

NameType
bytesBytesArray

Returns

void

Defined in

src/math/enum/T/KeyframeT.ts:111

Released under the MIT License