Skip to content

@orillusion/core


Class: PropertyAnimationClip ​

Defined in: src/math/AnimationCurveClip.ts:12

Animation Curve has frame list data

Constructors ​

Constructor ​

new PropertyAnimationClip(): PropertyAnimationClip

Returns ​

PropertyAnimationClip

Properties ​

clipName ​

clipName: string

Defined in: src/math/AnimationCurveClip.ts:14

Name of the animation clip.


loopTime ​

loopTime: boolean

Defined in: src/math/AnimationCurveClip.ts:16

Whether the clip loops over time.


startTime ​

startTime: number

Defined in: src/math/AnimationCurveClip.ts:18

Start time of the clip in seconds.


stopTime ​

stopTime: number

Defined in: src/math/AnimationCurveClip.ts:20

Stop time of the clip in seconds.


sampleRate ​

sampleRate: number

Defined in: src/math/AnimationCurveClip.ts:22

Number of samples per second used when authoring the clip.


useSkeletonPos ​

useSkeletonPos: boolean

Defined in: src/math/AnimationCurveClip.ts:24

Whether the clip drives skeleton position curves.


useSkeletonScale ​

useSkeletonScale: boolean

Defined in: src/math/AnimationCurveClip.ts:26

Whether the clip drives skeleton scale curves.


positionCurves ​

positionCurves: Map<string, AnimationCurveT>

Defined in: src/math/AnimationCurveClip.ts:28

Position animation curves keyed by node path.


rotationCurves ​

rotationCurves: Map<string, AnimationCurveT>

Defined in: src/math/AnimationCurveClip.ts:30

Rotation animation curves keyed by node path.


scaleCurves ​

scaleCurves: Map<string, AnimationCurveT>

Defined in: src/math/AnimationCurveClip.ts:32

Scale animation curves keyed by node path.


floatCurves ​

floatCurves: Map<string, AnimationCurveT>

Defined in: src/math/AnimationCurveClip.ts:34

Float-property animation curves keyed by attribute name.

Methods ​

formBytes() ​

formBytes(bytes): void

Defined in: src/math/AnimationCurveClip.ts:37

Deserialize the clip and all its curves from the given byte stream.

Parameters ​

bytes ​

BytesArray

Returns ​

void

Released under the MIT License