![]() |
RigsofRods
2023.09
Soft-body Physics Simulation
|
Abstract class defining a movable object in a scene. More...
#include <AngelOgre_MovableObject.h>
Inheritance diagram for AngelOgre::MovableObject:Public Member Functions | |
| const string & | getName (void) const |
| Returns the name of this object. More... | |
| const string & | getMovableType (void) const |
| Returns the type name of this object. More... | |
| Node * | getParentNode (void) const |
| Returns the node to which this object is attached. More... | |
| SceneNode | getParentSceneNode (void) const |
| Returns the scene node to which this object is attached. More... | |
| bool | isParentTagPoint () const |
| Gets whether the parent node is a TagPoint (or a SceneNode) More... | |
| bool | isAttached (void) const |
| Returns true if this object is attached to a SceneNode or TagPoint. More... | |
| void | detachFromParent (void) |
| Detaches an object from a parent SceneNode or TagPoint, if attached. More... | |
| bool | isInScene (void) const |
| Returns true if this object is attached to a SceneNode or TagPoint, and this SceneNode / TagPoint is currently in an active part of the scene graph. More... | |
| float | getBoundingRadius (void) const |
| Retrieves the local axis-aligned bounding box for this object. More... | |
| void | setVisible (bool visible) |
| Tells this object whether to be visible or not, if it has a renderable component. More... | |
| bool | getVisible (void) const |
| Gets this object whether to be visible or not, if it has a renderable component. More... | |
| bool | isVisible (void) const |
| Returns whether or not this object is supposed to be visible or not. More... | |
| void | setRenderingDistance (float dist) |
| Sets the distance at which the object is no longer rendered. More... | |
| float | getRenderingDistance (void) const |
| Gets the distance at which batches are no longer rendered. More... | |
| void | setRenderingMinPixelSize (float pixelSize) |
| Sets the minimum pixel size an object needs to be in both screen axes in order to be rendered. More... | |
| float | getRenderingMinPixelSize () const |
| Returns the minimum pixel size an object needs to be in both screen axes in order to be rendered. More... | |
| void | setCastShadows (bool enabled) |
| Return an instance of user objects binding associated with this class. More... | |
| bool | getCastShadows (void) const |
| Returns whether shadow casting is enabled for this object. More... | |
| void | setDebugDisplayEnabled (bool enabled) |
| Sets whether or not the debug display of this object is enabled. More... | |
| bool | isDebugDisplayEnabled (void) const |
| Gets whether debug display of this object is enabled. More... | |
Abstract class defining a movable object in a scene.
Definition at line 14 of file AngelOgre_MovableObject.h.
| void AngelOgre::MovableObject::detachFromParent | ( | void | ) |
Detaches an object from a parent SceneNode or TagPoint, if attached.
| float AngelOgre::MovableObject::getBoundingRadius | ( | void | ) | const |
Retrieves the local axis-aligned bounding box for this object.
| bool AngelOgre::MovableObject::getCastShadows | ( | void | ) | const |
Returns whether shadow casting is enabled for this object.
| const string& AngelOgre::MovableObject::getMovableType | ( | void | ) | const |
Returns the type name of this object.
| const string& AngelOgre::MovableObject::getName | ( | void | ) | const |
Returns the name of this object.
| Node* AngelOgre::MovableObject::getParentNode | ( | void | ) | const |
Returns the node to which this object is attached.
| SceneNode AngelOgre::MovableObject::getParentSceneNode | ( | void | ) | const |
Returns the scene node to which this object is attached.
|
inline |
Gets the distance at which batches are no longer rendered.
Definition at line 90 of file AngelOgre_MovableObject.h.
| float AngelOgre::MovableObject::getRenderingMinPixelSize | ( | ) | const |
Returns the minimum pixel size an object needs to be in both screen axes in order to be rendered.
| bool AngelOgre::MovableObject::getVisible | ( | void | ) | const |
Gets this object whether to be visible or not, if it has a renderable component.
| bool AngelOgre::MovableObject::isAttached | ( | void | ) | const |
Returns true if this object is attached to a SceneNode or TagPoint.
| bool AngelOgre::MovableObject::isDebugDisplayEnabled | ( | void | ) | const |
Gets whether debug display of this object is enabled.
| bool AngelOgre::MovableObject::isInScene | ( | void | ) | const |
| bool AngelOgre::MovableObject::isParentTagPoint | ( | ) | const |
Gets whether the parent node is a TagPoint (or a SceneNode)
| bool AngelOgre::MovableObject::isVisible | ( | void | ) | const |
Returns whether or not this object is supposed to be visible or not.
| void AngelOgre::MovableObject::setCastShadows | ( | bool | enabled | ) |
Return an instance of user objects binding associated with this class.
You can use it to associate one or more custom objects with this class instance.
| void AngelOgre::MovableObject::setDebugDisplayEnabled | ( | bool | enabled | ) |
Sets whether or not the debug display of this object is enabled.
| void AngelOgre::MovableObject::setRenderingDistance | ( | float | dist | ) |
Sets the distance at which the object is no longer rendered.
| dist | Distance beyond which the object will not be rendered (the default is 0, which means objects are always rendered). |
| void AngelOgre::MovableObject::setRenderingMinPixelSize | ( | float | pixelSize | ) |
Sets the minimum pixel size an object needs to be in both screen axes in order to be rendered.
| pixelSize | Number of minimum pixels (the default is 0, which means objects are always rendered). |
| void AngelOgre::MovableObject::setVisible | ( | bool | visible | ) |
Tells this object whether to be visible or not, if it has a renderable component.
1.8.17