animation.state graph domain matching AnimStateMachine semantics.
更多...
#include <AnimationGraph.h>
Public 成员函数 | |
| std::string | domain () const override |
| Domain. | |
| GraphConnectionDecision | canConnect (const GraphPinRecord &from, const GraphPinRecord &to) const override |
| Can connect. | |
| Result< GraphNodeRecord > | makeStateNode (const GraphNodeId &id, const std::string &clipAsset) const |
| Construct a state node referencing one animation clip asset. | |
| Result< GraphNodeRecord > | makeTransitionNode (const GraphNodeId &id) const |
| Construct a transition node with default blend metadata. | |
| AnimationGraphCompileResult | compile (const GraphDocumentData &graph) const |
| Validate and compile a graph into a deterministic runtime-neutral definition. | |
Public 成员函数 继承自 eve::editing::IGraphDomainProvider | |
| virtual | ~IGraphDomainProvider ()=default |
| Releases IGraphDomainProvider resources. | |
详细描述
animation.state graph domain matching AnimStateMachine semantics.
State nodes store clip asset references; transition nodes store blend/exit metadata and one optional float/bool/trigger condition. Runtime pointers are deliberately resolved only by the animation host after compilation.
在文件 AnimationGraph.h 第 44 行定义.
成员函数说明
◆ canConnect()
|
overridevirtual |
◆ compile()
| AnimationGraphCompileResult eve::animation_editing::AnimationStateGraphDomain::compile | ( | const GraphDocumentData & | graph | ) | const |
Validate and compile a graph into a deterministic runtime-neutral definition.
在文件 AnimationGraph.cpp 第 90 行定义.
引用了 blend, clip, eve::animation_editing::AnimationGraphCompileResult::definition, eve::animation_editing::AnimationGraphCompileResult::diagnostics, eve::animation_editing::AnimationGraphCompileResult::documentRevision, domain(), edge, from, graph, kind, loop, node, nodes, quote, eve::animation_editing::AnimationGraphCompileResult::status, to , 以及 value.
被这些函数引用 eve::animation_editing::AnimationStateGraphRuntimeBuilder::build().
◆ domain()
|
inlineoverridevirtual |
◆ makeStateNode()
| Result< GraphNodeRecord > eve::animation_editing::AnimationStateGraphDomain::makeStateNode | ( | const GraphNodeId & | id, |
| const std::string & | clipAsset | ||
| ) | const |
Construct a state node referencing one animation clip asset.
在文件 AnimationGraph.cpp 第 49 行定义.
引用了 id, eve::editing::GraphNodeRecord::id, node, properties , 以及 value.
◆ makeTransitionNode()
| Result< GraphNodeRecord > eve::animation_editing::AnimationStateGraphDomain::makeTransitionNode | ( | const GraphNodeId & | id | ) | const |
Construct a transition node with default blend metadata.
在文件 AnimationGraph.cpp 第 67 行定义.
引用了 id, eve::editing::GraphNodeRecord::id, node, properties , 以及 value.
该类的文档由以下文件生成:
- src/modules/animation/editing/AnimationGraph.h
- src/modules/animation/editing/AnimationGraph.cpp
Public 成员函数 继承自