Asset-specific editor state kept outside the runtime action timeline. 更多...
#include <ActionPreviewProfile.h>
Public 成员函数 | |
| EVENGINE_API_EDITORS Result< void > | validate () const |
| Validate stable identity, URI spelling and enum state. | |
| EVENGINE_API_EDITORS Result< Value > | toValue () const |
| Encode the canonical sidecar value. | |
| auto | operator<=> (const ActionPreviewProfile &) const =default |
静态 Public 成员函数 | |
| static EVENGINE_API_EDITORS Result< ActionPreviewProfile > | fromValue (const Value &value) |
| Decode and validate a sidecar transactionally. | |
Public 属性 | |
| AssetGuid | actionAsset |
| std::string | previewModelUri |
| std::string | baseMotionUri |
| std::string | animationProfileUri |
| std::string | boneMaskUri |
| bool | showRootMotion = true |
| bool | footIk = false |
| bool | showGrid = true |
| bool | showSkeleton = false |
| bool | showJointNames = false |
| ActionPreviewShading | shading = ActionPreviewShading::Lit |
详细描述
Asset-specific editor state kept outside the runtime action timeline.
在文件 ActionPreviewProfile.h 第 26 行定义.
成员函数说明
◆ fromValue()
|
static |
Decode and validate a sidecar transactionally.
在文件 ActionPreviewProfile.cpp 第 127 行定义.
引用了 actionAsset, animationProfileUri, baseMotionUri, boneMaskUri, eve::Result< T >::failure(), footIk, eve::editor::kActionPreviewProfileSchemaId, eve::editor::kActionPreviewProfileSchemaVersion, eve::editor::Lit, mask, model, previewModelUri, shading, showGrid, showJointNames, showRootMotion, showSkeleton, eve::Result< T >::success(), eve::editor::Unlit, valid, validate(), value, eve::ui::WidgetDesc::value , 以及 version.
被这些函数引用 eve::editor::exposeActionTimelineScriptBindings() , 以及 eve::editor::ActionPreviewProfileStore::load().
◆ operator<=>()
|
default |
◆ toValue()
Encode the canonical sidecar value.
在文件 ActionPreviewProfile.cpp 第 107 行定义.
引用了 actionAsset, eve::editor::actionPreviewShadingName(), animationProfileUri, baseMotionUri, boneMaskUri, eve::Result< T >::failure(), footIk, eve::UuidIdAdapter< Tag >::format(), eve::editor::kActionPreviewProfileSchemaId, eve::editor::kActionPreviewProfileSchemaVersion, object, previewModelUri, shading, showGrid, showJointNames, showRootMotion, showSkeleton, eve::Result< T >::success(), valid , 以及 validate().
◆ validate()
| Result< void > eve::editor::ActionPreviewProfile::validate | ( | ) | const |
Validate stable identity, URI spelling and enum state.
在文件 ActionPreviewProfile.cpp 第 97 行定义.
引用了 actionAsset, animationProfileUri, baseMotionUri, boneMaskUri, eve::UuidIdAdapter< Tag >::format(), path, previewModelUri, eve::Result< T >::success() , 以及 uri.
被这些函数引用 eve::editor::ActionPreviewCompatibilityAnalyzer::analyze(), eve::editor::ActionPreviewController::configureProfile(), fromValue() , 以及 toValue().
类成员变量说明
◆ actionAsset
| AssetGuid eve::editor::ActionPreviewProfile::actionAsset |
在文件 ActionPreviewProfile.h 第 27 行定义.
被这些函数引用 fromValue(), eve::editor::ActionPreviewProfileStore::save(), toValue() , 以及 validate().
◆ animationProfileUri
| std::string eve::editor::ActionPreviewProfile::animationProfileUri |
在文件 ActionPreviewProfile.h 第 30 行定义.
被这些函数引用 fromValue(), toValue() , 以及 validate().
◆ baseMotionUri
| std::string eve::editor::ActionPreviewProfile::baseMotionUri |
在文件 ActionPreviewProfile.h 第 29 行定义.
被这些函数引用 fromValue(), toValue() , 以及 validate().
◆ boneMaskUri
| std::string eve::editor::ActionPreviewProfile::boneMaskUri |
在文件 ActionPreviewProfile.h 第 31 行定义.
被这些函数引用 fromValue(), toValue() , 以及 validate().
◆ footIk
| bool eve::editor::ActionPreviewProfile::footIk = false |
在文件 ActionPreviewProfile.h 第 33 行定义.
被这些函数引用 fromValue() , 以及 toValue().
◆ previewModelUri
| std::string eve::editor::ActionPreviewProfile::previewModelUri |
在文件 ActionPreviewProfile.h 第 28 行定义.
被这些函数引用 fromValue(), toValue() , 以及 validate().
◆ shading
| ActionPreviewShading eve::editor::ActionPreviewProfile::shading = ActionPreviewShading::Lit |
在文件 ActionPreviewProfile.h 第 37 行定义.
被这些函数引用 fromValue() , 以及 toValue().
◆ showGrid
| bool eve::editor::ActionPreviewProfile::showGrid = true |
在文件 ActionPreviewProfile.h 第 34 行定义.
被这些函数引用 fromValue() , 以及 toValue().
◆ showJointNames
| bool eve::editor::ActionPreviewProfile::showJointNames = false |
在文件 ActionPreviewProfile.h 第 36 行定义.
被这些函数引用 fromValue() , 以及 toValue().
◆ showRootMotion
| bool eve::editor::ActionPreviewProfile::showRootMotion = true |
在文件 ActionPreviewProfile.h 第 32 行定义.
被这些函数引用 fromValue() , 以及 toValue().
◆ showSkeleton
| bool eve::editor::ActionPreviewProfile::showSkeleton = false |
在文件 ActionPreviewProfile.h 第 35 行定义.
被这些函数引用 fromValue() , 以及 toValue().
该结构体的文档由以下文件生成:
- src/modules/action/editor/ActionPreviewProfile.h
- src/modules/action/editor/ActionPreviewProfile.cpp