class
#include <esp/assets/Attributes.h>
PhysicsSceneAttributes attributes for a single physical scene
Contents
Base classes
- class AbstractPhysicsAttributes
- base attributes object holding attributes shared by all PhysicsObjectAttributes and PhysicsSceneAttributes objects; Should be treated as if is abstract - should never be instanced directly
Constructors, destructors, conversion operators
-
PhysicsSceneAttributes(const std::
string& handle = "")
Public functions
-
void setOrigin(const Magnum::
Vector3& origin) -
auto getOrigin() const -> Magnum::
Vector3 -
void setGravity(const Magnum::
Vector3& gravity) -
auto getGravity() const -> Magnum::
Vector3 -
void setHouseFilename(const std::
string& houseFilename) -
auto getHouseFilename() const -> std::
string -
void setSemanticAssetHandle(const std::
string& semanticAssetHandle) -
auto getSemanticAssetHandle() const -> std::
string - void setSemanticAssetType(int semanticAssetType)
- auto getSemanticAssetType() -> int
- void setLoadSemanticMesh(bool loadSemanticMesh)
- auto getLoadSemanticMesh() -> bool
-
void setNavmeshAssetHandle(const std::
string& navmeshAssetHandle) -
auto getNavmeshAssetHandle() const -> std::
string -
void setLightSetup(const std::
string& lightSetup) - set lighting setup for scene. Default value comes from SimulatorConfiguration, is overridden by any value set in json, if exists.
-
auto getLightSetup() -> std::
string - void setFrustrumCulling(bool frustrumCulling)
- auto getFrustrumCulling() const -> bool