|
|
| AxisComponentGizmo (Core::SceneObject *parent, Axis axis) |
| |
|
virtual bool | onEvent (std::shared_ptr< Core::AEvent > event) override |
| |
|
virtual void | setSelected (bool selected) override |
| |
|
| Gizmo (std::string const &name, Core::SceneObject *parent, std::string const &type) |
| |
|
bool | isSelected () const |
| |
| | SceneObject (std::string const &name, SceneObject *parent=nullptr, std::string const &type="SceneObject") |
| |
| | SceneObject () |
| |
| virtual | ~SceneObject () |
| |
| virtual void | onVariableModified (std::string const &varName) override |
| |
| Math::Transform & | getTransform () |
| |
| void | setActive (bool active) |
| |
| bool | isActive () const |
| |
| void | setVisible (bool visible) |
| |
| bool | isVisible () const |
| |
| void | setForcedVisible (bool forced) |
| |
| bool | isForcedVisible () const |
| |
| void | setStatic (bool isStatic) |
| |
| bool | isStatic () const |
| |
| void | setPersistent (bool persists) |
| |
| bool | isPersistent () const |
| |
|
Graphics::UniformPerObject const & | getUniformData (Math::Matrix4x4 const &viewMatrix, Math::Matrix4x4 const &projMatrix) |
| |
| void | setPosition (float x, float y, float z) |
| |
| void | setPosition (Math::Vector3f const &position) |
| |
| Math::Vector3f | getPosition (bool local=true) const |
| |
| void | translate (Math::Vector3f const &translation, bool local=true) |
| |
| void | rotate (float angle, Math::Vector3f const &axis) |
| |
|
void | rotate (Math::Quaternion const &rotation) |
| |
| void | setRotation (Math::Quaternion const &rotation) |
| |
| void | resetRotation () |
| |
|
Math::Quaternion const & | getRotation () const |
| |
|
void | setScale (Math::Vector3f const &scale) |
| |
|
void | setScale (float xScale, float yScale, float zScale) |
| |
|
Math::Vector3f | getScale (bool local=true) const |
| |
|
void | setTransform (Math::Transform const &transform) |
| |
|
void | lookAt (Math::Vector3f const &point) |
| |
|
Math::Transform const & | getTransform () const |
| |
|
virtual Math::Matrix4x4 | getModelMatrix (bool local=true) const |
| |
| void | setParent (SceneObject *parent, bool maintainWorldPos=true) |
| |
| SceneObject * | getParent () const |
| |
| SceneObject * | createChild (std::string const &name) |
| |
| void | addChild (SceneObject *child, bool maintainWorldPos=true) |
| |
| SceneObject * | findChild (std::string const &name) |
| |
| SceneObject * | findChild (UUID const &uuid) |
| |
| SceneObject * | removeChild (std::string const &name) |
| |
| SceneObject * | removeChild (UUID const &uuid) |
| |
| SceneObject * | removeChild (SceneObject const *object) |
| |
| uint32_t | getNumChildren () const |
| |
| std::vector< SceneObject * > const & | getAllChildren () const |
| |
| ARoutine * | addRoutine (std::string const &name) |
| |
|
void | addRoutine (ARoutine *routine) |
| |
| template<class T > |
| T * | addRoutine () |
| |
| bool | removeRoutine (std::string const &name) |
| |
| bool | removeRoutine (ARoutine *routine, bool transferring=false) |
| |
| void | removeAllRoutines () |
| |
| ARoutine * | getRoutine (std::string const &name) |
| |
| std::vector< ARoutine * > const & | getAllRoutines () const |
| |
|
uint32_t | getNumRoutines () const |
| |
|
ARenderable * | setRenderable (std::string const &name) |
| |
|
void | setRenderable (ARenderable *renderable) |
| |
|
template<class T > |
| T * | setRenderable () |
| |
|
void | removeRenderable (bool transferring=false) |
| |
|
ARenderable * | getRenderable () const |
| |
| virtual void | onLoad (BuilderNode const *node) override |
| |
| virtual void | onSave (BuilderNode *node) const override |
| |
|
void | forceBoundsRebuild () |
| |
| Math::BoundsSphere | getBoundsSphere (bool local) |
| |
| Math::BoundsAABB | getBoundsAABB (bool local) |
| |
| Math::BoundsOBB | getBoundsOBB (bool local) |
| |
| | Object (std::string name, std::string className) |
| | Creates a new Object with the specified name and class. More...
|
| |
| | Object (std::string name) |
| | Creates a new Object with the specified name. More...
|
| |
|
| Object () |
| | Creates a new Object with the default name ('Name').
|
| |
| std::string const & | getName () const |
| |
| void | setName (std::string name) |
| | Sets the name of the Object. More...
|
| |
| std::string const & | getClass () const |
| |
| void | setUUID (std::string const &uuid) |
| |
| UUID const & | getUUID () const |
| |
| int64_t | getCreationTime () const |
| |
| virtual std::string | toString () const |
| |
|
template<class T > |
| bool | isType () |
| |
| void | getAllExposedNames (std::vector< std::string > &names) const |
| |
| bool | getVariable (std::string const &name, ExposedVariable &var) |
| |
| template<typename T > |
| bool | getVariableValue (std::string const &name, T &var) |
| |
| template<typename T > |
| bool | setVariableValue (std::string const &name, T const &value) |
| |
Custom SceneObject representing a single local axis of an object.