载入中...
搜索中...
未找到
eve::animation_editing::AnimationStateGraphRuntimeBuilder类 参考

Optional bridge constructing the real animation runtime from a validated graph. 更多...

#include <AnimationGraph.h>

Public 类型

using ClipResolver = std::function< animation::AnimClip *(const std::string &asset)>
 

Public 成员函数

Result< animation::AnimStateMachine * > build (const GraphDocumentData &graph, animation::AnimSkeleton *skeleton, const ClipResolver &clips) const
 Build an AnimStateMachine; caller owns the returned machine.
 

详细描述

Optional bridge constructing the real animation runtime from a validated graph.

在文件 AnimationGraph.h 第 61 行定义.

成员类型定义说明

◆ ClipResolver

在文件 AnimationGraph.h 第 63 行定义.

成员函数说明

◆ build()

Result< animation::AnimStateMachine * > eve::animation_editing::AnimationStateGraphRuntimeBuilder::build ( const GraphDocumentData &  graph,
animation::AnimSkeleton *  skeleton,
const ClipResolver &  clips 
) const

Build an AnimStateMachine; caller owns the returned machine.

参数
graphImmutable animation state graph.
skeletonNon-owning runtime skeleton.
clipsHost-owned stable asset-reference resolver.

在文件 AnimationGraphRuntime.cpp 第 22 行定义.

引用了 blend, clip, eve::animation_editing::AnimationStateGraphDomain::compile(), eve::animation_editing::AnimationGraphCompileResult::diagnostics, edge, eve::Result< T >::failure(), from, graph, kind, node, nodes, eve::animation_editing::AnimationGraphCompileResult::status, to , 以及 value.


该类的文档由以下文件生成: