Skip to content

Class: Keyframe

Constructors

Properties

Methods

Constructors

constructor

new Keyframe(time?, value?): Keyframe

Parameters

NameTypeDefault value
timenumber0
valuenumber0

Returns

Keyframe

Defined in

src/math/enum/Keyframe.ts:18

Properties

serializedVersion

serializedVersion: string = '2'

Defined in

src/math/enum/Keyframe.ts:7


time

time: number

Defined in

src/math/enum/Keyframe.ts:8


value

value: number

Defined in

src/math/enum/Keyframe.ts:9


inSlope

inSlope: number = 0

Defined in

src/math/enum/Keyframe.ts:10


outSlope

outSlope: number = 0

Defined in

src/math/enum/Keyframe.ts:11


tangentMode

tangentMode: number = 0

Defined in

src/math/enum/Keyframe.ts:12


weightedMode

weightedMode: number = 0

Defined in

src/math/enum/Keyframe.ts:14


inWeight

inWeight: number

Defined in

src/math/enum/Keyframe.ts:15


outWeight

outWeight: number

Defined in

src/math/enum/Keyframe.ts:16

Methods

unSerialized

unSerialized(data): void

Parameters

NameType
dataany

Returns

void

Defined in

src/math/enum/Keyframe.ts:23


unSerialized2

unSerialized2(data): void

Parameters

NameType
dataany

Returns

void

Defined in

src/math/enum/Keyframe.ts:32