Animatorクラス

クラス日本語解説は準備中

ひとことで言うと

Animatorは、ロブロックス(Roblox)のクラスです。くわしい日本語解説は準備中のため、下に公式の説明(英語)を載せています。

公式の説明(英語):Responsible for the playback and replication of Class.Animation|Animations.

クラスの関係

受け継いでいるクラス:Object → Instance → Animator

プロパティ(2)

名前と書き方説明
EvaluationThrottled
Animator.EvaluationThrottled: boolean
Indicates whether animation evaluation was throttled (skipped) this frame for this Animator.
PreferLodEnabled
Animator.PreferLodEnabled: boolean
Controls whether animation LOD throttling is allowed for this Animator. When set to false, animations always evaluate at full fidelity.

メソッド(5)

名前と書き方説明
ApplyJointVelocities
Animator:ApplyJointVelocities(motors: Variant): ()
Computes relative velocities between parts and applies them to Motor6D.Part1.
GetPlayingAnimationTracks
Animator:GetPlayingAnimationTracks(): Array
Returns the list of currently active Class.AnimationTrack|AnimationTracks.
GetTrackByAnimationId
Animator:GetTrackByAnimationId(animationId: ContentId): AnimationTrack?
Returns an existing AnimationTrack on this Animator that was loaded from an Animation with the given animation ID. Unlike Class.Animator:LoadAnimation()|LoadAnimation(), this method does not create a new AnimationTrack instance.
LoadAnimation
Animator:LoadAnimation(animation: Animation): AnimationTrack
Loads an Animation onto an Animator, returning an AnimationTrack.
StepAnimations
Animator:StepAnimations(deltaTime: float): ()
Increments the AnimationTrack.TimePosition of all playing Class.AnimationTrack|AnimationTracks that are loaded onto the Animator, applying the offsets to the model associated with the Animator. For use in the command bar or by plugins only.

イベント(1)

名前と書き方説明
AnimationPlayed
Animator.AnimationPlayed(animationTrack: AnimationTrack)
Fires when the Animator starts playing an AnimationTrack.

受け継いでいるメンバー

Instance から受け継いでいるもの(46)

Archivable・Capabilities・IsInSandbox・Name・Parent・PredictionMode・Sandboxed・AddTag・ClearAllChildren・Clone・Destroy・FindFirstAncestor・FindFirstAncestorOfClass・FindFirstAncestorWhichIsA・FindFirstChild・FindFirstChildOfClass・FindFirstChildWhichIsA・FindFirstDescendant・GetActor・GetAttribute・GetAttributeChangedSignal・GetAttributes・GetChildren・GetDebugId・GetDescendants・GetFullName・GetStyled・GetStyledPropertyChangedSignal・GetTags・HasTag・IsAncestorOf・IsDescendantOf・IsPropertyModified・QueryDescendants・RemoveTag・ResetPropertyToDefault・SetAttribute・WaitForChild・AncestryChanged・AttributeChanged・ChildAdded・ChildRemoved・DescendantAdded・DescendantRemoving・Destroying・StyledPropertiesChanged

Object から受け継いでいるもの(4)

ClassName・GetPropertyChangedSignal・IsA・Changed

英語の説明とメンバーの一覧は、Roblox Creator Documentation(Animator)をもとにしています(CC BY 4.0)。日本語の解説は、このサイトで独自に書いたものです。

執筆:鈴木孝昌官公庁のWeb・システム開発を担当する現役プロジェクトマネージャー。沖縄マイクラ部 クロスウェーブで、ロブロックス(Roblox)・マインクラフト(マイクラ)・Scratchなどのプログラミングを指導。マイクラカップ沖縄代表チームを指導(第6回・第7回、第7回TBS賞)。
沖縄マイクラ部で、子どもたちにロブロックス(Roblox)やマインクラフト(マイクラ)のプログラミングを教えています。プロフィールと編集方針
Instagramで教室の様子を見る
noteで記事を読む