跳到主要内容
版本:v10.0

M3D / M3D / Animation / KeyframeString

Class: KeyframeString

M3D.Animation.KeyframeString

Memberof

M3D.Animation

Description

用于任何与字符串相关的关键帧

Author

YF

Export

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new KeyframeString(): KeyframeString

Returns

KeyframeString

Inherited from

Keyframe.constructor

Properties

bConstant

bConstant: boolean

Description

如果此关键帧的值与前一个关键帧的值相同,则该值为true

Memberof

Keyframe

Inherited from

Keyframe.bConstant


bDiscrete

bDiscrete: boolean


bEaseInOut

bEaseInOut: boolean

Description

如果开启了启动和停止的平滑过渡,则该值为true,否则为false

Memberof

Keyframe

Inherited from

Keyframe.bEaseInOut


bRelative

bRelative: boolean

Description

是否关联

Memberof

Keyframe

Inherited from

Keyframe.bRelative


target

target: string

Description

关键帧目标字符串

Memberof

KeyframeString


type

type: ANIKeyframeType

Description

关键帧类型

Memberof

Keyframe

Inherited from

Keyframe.type

Methods

clone

clone(): Keyframe

Returns

Keyframe

Description

克隆

Memberof

Keyframe

Inherited from

Keyframe.clone


getTarget

getTarget(): string

Returns

string

Description

获取目标字符串

Memberof

KeyframeString


setConstant

setConstant(constant): void

Parameters

NameType
constantboolean

Returns

void

Description

使用此方法保持关键帧值不变

Memberof

Keyframe

Inherited from

Keyframe.setConstant


setEaseInOut

setEaseInOut(easeinout): void

Parameters

NameType
easeinoutboolean

Returns

void

Description

使用此方法表明您希望在开始时实现平稳过渡

Memberof

Keyframe

Inherited from

Keyframe.setEaseInOut


setRelative

setRelative(relative): void

Parameters

NameType
relativeboolean

Returns

void

Description

设置是否相关

Memberof

Keyframe

Inherited from

Keyframe.setRelative


setTarget

setTarget(target): void

Parameters

NameType
targetstring

Returns

void

Description

设置目标字符串

Memberof

KeyframeString