载入中...
搜索中...
未找到
eve::editor::IEditorSimulationBackend类 参考abstract

Cloneable backend boundary for physics/crowd/fluid editor simulation previews. 更多...

#include <EditorSimulationPreview.h>

类 eve::editor::IEditorSimulationBackend 继承关系图:
eve::scene_editor::ScenePhysicsPlacementBackend

Public 成员函数

virtual ~IEditorSimulationBackend ()=default
 Releases IEditorSimulationBackend resources.
 
virtual std::unique_ptr< IEditorSimulationBackend > cloneForPreview () const =0
 Clone complete simulation state so preview never mutates the live world.
 
virtual Result< void > step (std::uint64_t tick, double fixedDelta)=0
 Advance exactly one fixed deterministic step.
 
virtual Result< std::vector< SimulationObjectSample > > capture () const =0
 Capture stable object transforms after the current step.
 

详细描述

Cloneable backend boundary for physics/crowd/fluid editor simulation previews.

在文件 EditorSimulationPreview.h 第 38 行定义.

构造及析构函数说明

◆ ~IEditorSimulationBackend()

virtual eve::editor::IEditorSimulationBackend::~IEditorSimulationBackend ( )
virtualdefault

Releases IEditorSimulationBackend resources.

成员函数说明

◆ capture()

virtual Result< std::vector< SimulationObjectSample > > eve::editor::IEditorSimulationBackend::capture ( ) const
pure virtual

Capture stable object transforms after the current step.

在 eve::scene_editor::ScenePhysicsPlacementBackend 内被实现.

被这些函数引用 eve::editor::SimulationPreviewController::bake().

◆ cloneForPreview()

virtual std::unique_ptr< IEditorSimulationBackend > eve::editor::IEditorSimulationBackend::cloneForPreview ( ) const
pure virtual

Clone complete simulation state so preview never mutates the live world.

在 eve::scene_editor::ScenePhysicsPlacementBackend 内被实现.

被这些函数引用 eve::editor::SimulationPreviewController::bake().

◆ step()

virtual Result< void > eve::editor::IEditorSimulationBackend::step ( std::uint64_t  tick,
double  fixedDelta 
)
pure virtual

Advance exactly one fixed deterministic step.

在 eve::scene_editor::ScenePhysicsPlacementBackend 内被实现.


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