载入中...
搜索中...
未找到
AnimationClipRuntime.cpp
浏览该文件的文档.
12 RuleId("editor.animation.skeleton-required"), "Runtime clip building requires a target skeleton");
14 for (int index = 0; index < skeleton->getBoneCount(); ++index) bones.push_back(skeleton->getBoneName(index));
Keyframed skeletal animation clip (local TRS tracks per bone). Script type: AnimClip.
Definition AnimClip.h:145
3D bone hierarchy + bind-pose local TRS for skeletal animation. Independent of ik::Skeleton3D (FABRIK...
Definition AnimSkeleton.h:16
UI-neutral animation clip document with reversible stable-id timeline edits.
Definition AnimationClip.h:106
std::vector< EditorDiagnostic > validate(const std::vector< std::string > &skeletonBones={}) const
Validate timeline, references and mask against optional target bone names.
Definition AnimationClip.cpp:317
EditorValue snapshotValue() const override
Capture deterministic schema-version-one clip data.
Definition AnimationClip.cpp:365
std::vector< AnimationEventRecord > events() const
Return event markers ordered by time then stable id.
Definition AnimationClip.cpp:312
std::vector< AnimationBoneTrack > tracks() const
Return tracks ordered by stable id.
Definition AnimationClip.cpp:308
Result< animation::AnimClip * > build(const AnimationClipDocumentTarget &document, const animation::AnimSkeleton *skeleton) const
Build a new runtime clip; caller owns the result.
Definition AnimationClipRuntime.cpp:8
Definition AnimationClip.cpp:10
RuleId diagnosticRule(const Diagnostic &diagnostic)
Return the projected editing rule, or an empty RuleId when absent.
Definition EditingResult.h:34