M3D / M3D / Animation / KeyframeQuatSquad
Class: KeyframeQuatSquad
M3D.Animation.KeyframeQuatSquad
Memberof
M3D.Animation
Description
基于四元数的非线性旋转插值
Author
YF
Export
Hierarchy
-
↳
KeyframeQuatSquad
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new KeyframeQuatSquad(): KeyframeQuatSquad
Returns
Memberof
KeyframeQuatSquad
Overrides
Properties
bConstant
• bConstant: boolean
Description
如果此关键帧的值与前一个关键帧的值相同,则该值为true
Memberof
Keyframe
Inherited from
bEaseInOut
• bEaseInOut: boolean
Description
如果开启了启动和停止的平滑过渡,则该值为true,否则为false
Memberof
Keyframe
Inherited from
bLinear
• bLinear: boolean
Description
如果旋转是线性的,则为true;如果旋转不是非线性的,则为false
Memberof
KeyframeRotation
Inherited from
bRelative
• bRelative: boolean
Description
是否关联
Memberof
Keyframe
Inherited from
extraSpins
• extraSpins: number
quat
• quat: Quaternion
rotationtype
• rotationtype: ANIRotationType
Description
旋转的类型
Memberof
KeyframeRotation
Inherited from
type
• type: ANIKeyframeType
Description
关键帧类型
Memberof
Keyframe
Inherited from
Methods
clone
▸ clone(): Keyframe
Returns
Description
克隆
Memberof
Keyframe
Inherited from
setConstant
▸ setConstant(constant
): void