AnimationClip

AnimationClip class

Animation クリップはアニメーションのコレクションです。シーンは 1 つ以上のアニメーション クリップを持つことができます。

メソッド

constructor

名前説明
constructor()AnimationClip クラスの新しいインスタンスを初期化します。

Result:


constructor_overload

名前説明
constructor_overload(name)AnimationClip クラスの新しいインスタンスを初期化します。

Parameters:

名前説明
name文字列名前

Result:


getAnimations

名前説明
getAnimations()クリップ内に含まれるアニメーションを取得します。レイヤー。

Result:


getDescription

名前説明
getDescription()このアニメーションクリップの説明を取得または設定します

Result:


setDescription

名前説明
setDescription(value)このアニメーションクリップの説明を取得または設定します

Result:


getStart

名前説明
getStart()クリップの開始時刻(秒)を取得または設定します。

Result:


setStart

名前説明
setStart(value)クリップの開始時刻(秒)を取得または設定します。

Result:


getStop

名前説明
getStop()クリップの終了時刻(秒)を取得または設定します。

Result:


setStop

名前説明
setStop(value)クリップの終了時刻(秒)を取得または設定します。

Result:


getScene

名前説明
getScene()このオブジェクトが属するシーンを取得します。

Result:


getName

名前説明
getName()名前を取得または設定します。名前。

Result:


setName

名前説明
setName(value)名前を取得または設定します。名前。

Result:


getProperties

名前説明
getProperties()すべてのプロパティのコレクションを取得します。

Result:


createAnimationNode

名前説明
createAnimationNode(nodeName)現在のクリップ上でアニメーションノードを作成し登録するためのショートハンド関数です。

Parameters:

名前説明
nodeName文字列新しいアニメーションノードの名前

Result: AnimationNode


removeProperty

名前説明
removeProperty(property)動的プロパティを削除します。

Parameters:

名前説明
propertyProperty削除するプロパティはどれですか

Result: boolean


removeProperty

名前説明
removeProperty(property)名前で識別された指定されたプロパティを削除します。

Parameters:

名前説明
propert文字列null

Result: boolean


getProperty

名前説明
getProperty(property)指定されたプロパティの値を取得します

Parameters:

名前説明
property文字列プロパティ名

Result: オブジェクト


setProperty

名前説明
setProperty(property, value)指定されたプロパティの値を設定します

Parameters:

名前説明
property文字列プロパティ名
オブジェクトプロパティの値

Result: オブジェクト


findProperty

名前説明
findProperty(propertyName)プロパティを検索します。動的プロパティ(CreateDynamicProperty/SetProperty によって作成)またはネイティブプロパティ(名前で識別)になる可能性があります

Parameters:

名前説明
propertyName文字列プロパティ名。

Result: Property