class
#include <esp/scene/ObjectControls.h>
ObjectControls
Public types
-
using MoveFunc = std::
function<SceneNode&(SceneNode&, float)> -
using MoveFilterFunc = std::
function<vec3f(const vec3f&, const vec3f&)>
Constructors, destructors, conversion operators
Public functions
- auto setMoveFilterFunction(MoveFilterFunc filterFunc) -> ObjectControls&
-
auto action(SceneNode& object,
const std::
string& actName, float distance, bool applyFilter = true) -> ObjectControls& -
auto operator()(SceneNode& object,
const std::
string& actName, float distance, bool applyFilter = true) -> ObjectControls& -
auto getMoveFuncMap() const -> const std::
map<std:: string, MoveFunc>&