An entity point.
More...
#include <EntityPoint.h>
◆ EntityPoint()
EntityPoint::EntityPoint |
( |
const Ogre::String & |
name | ) |
|
Constructor.
- Parameters
-
[in] | name | Name of the entity point. |
◆ ~EntityPoint()
EntityPoint::~EntityPoint |
( |
| ) |
|
|
virtual |
◆ GetName()
const Ogre::String & EntityPoint::GetName |
( |
| ) |
const |
Retrieves the entity point name.
- Returns
- The name of the entity point.
◆ GetPosition()
const Ogre::Vector3 & EntityPoint::GetPosition |
( |
| ) |
const |
Retrieves the point position.
- Returns
- The point position.
◆ GetRotation()
float EntityPoint::GetRotation |
( |
| ) |
const |
Retrieves the point orientation.
- Returns
- The point orientation.
◆ ScriptGetPosition()
void EntityPoint::ScriptGetPosition |
( |
| ) |
const |
Informs the script manager of the point position.
◆ ScriptGetRotation()
float EntityPoint::ScriptGetRotation |
( |
| ) |
const |
Retrieves the point orientation.
- Returns
- The point orientation.
◆ SetPosition()
void EntityPoint::SetPosition |
( |
const Ogre::Vector3 & |
point | ) |
|
Sets the point position.
- Parameters
-
[in] | point | The new point position |
◆ SetRotation()
void EntityPoint::SetRotation |
( |
const float |
rotation | ) |
|
Sets the point orientation.
- Parameters
-
[in] | rotation | The new orientation (0-360). |
◆ UpdateDebug()
void EntityPoint::UpdateDebug |
( |
| ) |
|
Updates the point state with debug information.
◆ name_
Ogre::String EntityPoint::name_ |
|
protected |
◆ position_
Ogre::Vector3 EntityPoint::position_ |
|
protected |
The entity point's position.
◆ rotation_
float EntityPoint::rotation_ |
|
protected |
The entity point's orientation.
The documentation for this class was generated from the following files: