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

M3D / M3D / Animation / Keyframe3String

Class: Keyframe3String

M3D.Animation.Keyframe3String

Memberof

M3D.Animation

Description

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

Author

YF

Export

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new Keyframe3String(): Keyframe3String

Returns

Keyframe3String

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


target1

target1: string


target2

target2: string


target3

target3: string


type

type: ANIKeyframeType

Description

关键帧类型

Memberof

Keyframe

Inherited from

Keyframe.type

Methods

clone

clone(): Keyframe

Returns

Keyframe

Description

克隆

Memberof

Keyframe

Inherited from

Keyframe.clone


getTarget1

getTarget1(): string

Returns

string

Description

获取目标字符串1

Memberof

Keyframe3String


getTarget2

getTarget2(): string

Returns

string

Description

获取目标字符串2

Memberof

Keyframe3String


getTarget3

getTarget3(): string

Returns

string

Description

获取目标字符串3

Memberof

Keyframe3String


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(target1, target2, target3): void

Parameters

NameType
target1string
target2string
target3string

Returns

void

Description

设置一个新的目标字符串

Memberof

Keyframe3String