#include <PlayerEntity.h>
|
| virtual void | onPose (Array< shared_ptr< Surface > > &surfaceArray) override |
| |
| virtual void | onSimulation (GameTime absoluteTime, GameTime deltaTime) override |
| |
| void | setDesiredOSVelocity (const Vector3 &objectSpaceVelocity) |
| |
| virtual Any | toAny () const override |
| | Converts the current VisibleEntity to an Any. More...
|
| |
|
| static shared_ptr< Entity > | create (const String &name, Scene *scene, AnyTableReader &propertyTable, const ModelTable &modelTable) |
| | For deserialization from Any / loading from file. More...
|
| |
| static shared_ptr< PlayerEntity > | create (const String &name, Scene *scene, const CFrame &position, const shared_ptr< Model > &model) |
| | For programmatic construction at runtime. More...
|
| |
| PlayerEntity::PlayerEntity |
( |
| ) |
|
|
inlineprotected |
| shared_ptr< Entity > PlayerEntity::create |
( |
const String & |
name, |
|
|
Scene * |
scene, |
|
|
AnyTableReader & |
propertyTable, |
|
|
const ModelTable & |
modelTable |
|
) |
| |
|
static |
For deserialization from Any / loading from file.
| shared_ptr< PlayerEntity > PlayerEntity::create |
( |
const String & |
name, |
|
|
Scene * |
scene, |
|
|
const CFrame & |
position, |
|
|
const shared_ptr< Model > & |
model |
|
) |
| |
|
static |
For programmatic construction at runtime.
| void PlayerEntity::init |
( |
AnyTableReader & |
propertyTable | ) |
|
|
protected |
| void PlayerEntity::init |
( |
const Vector3 & |
velocity | ) |
|
|
protected |
| void PlayerEntity::onPose |
( |
Array< shared_ptr< Surface > > & |
surfaceArray | ) |
|
|
overridevirtual |
| void PlayerEntity::onSimulation |
( |
GameTime |
absoluteTime, |
|
|
GameTime |
deltaTime |
|
) |
| |
|
overridevirtual |
| void PlayerEntity::setDesiredOSVelocity |
( |
const Vector3 & |
objectSpaceVelocity | ) |
|
|
inline |
| Any PlayerEntity::toAny |
( |
| ) |
const |
|
overridevirtual |
Converts the current VisibleEntity to an Any.
Subclasses should modify at least the name of the Table returned by the base class, which will be "Entity" if not changed.
| Vector3 PlayerEntity::m_desiredOSVelocity |
|
protected |
| Vector3 PlayerEntity::m_maxOSAcceleration |
|
protected |
| Vector3 PlayerEntity::m_maxOSVelocity |
|
protected |
| Vector3 PlayerEntity::m_velocity |
|
protected |
The documentation for this class was generated from the following files: