Habitat | Sim Docs
  1. Pages
    1. Add new actions
    2. Attributes JSON
    3. Stereo agent
    4. Lighting Setups
    5. Rigid Object Tutorial
  2. Classes
  1. C++ API
  2. Habitat Lab Docs

esp::scene::ObjectControls class
#include <esp/scene/ObjectControls.h>

Contents

  • Reference
    • Public types
    • Constructors, destructors, conversion operators
    • Public functions
    • Protected variables

Public types

using MoveFunc = std::function<SceneNode&(SceneNode&, float)>
using MoveFilterFunc = std::function<vec3f(const vec3f&, const vec3f&)>

Constructors, destructors, conversion operators

ObjectControls()

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>&

Protected variables

MoveFilterFunc moveFilterFunc_
std::map<std::string, MoveFunc> moveFuncMap_
Tab / T to search, Esc to close
…

Search for symbols, directories, files, pages or modules. You can omit any prefix from the symbol or file path; adding a : or / suffix lists all members of given symbol or directory.

Use ↓ / ↑ to navigate through the list, Enter to go. Tab autocompletes common prefix, you can copy a link to the result using ⌘ L while ⌘ M produces a Markdown link.

Sorry, nothing was found.
Maybe try a full-text search with external engine?

    Habitat Sim Docs. Created with Doxygen 1.9.5 and m.css.