Entity

Undocumented in source.
class Entity : Owner, Drawable {}

Constructors

this
this(EventManager emngr, Owner owner)
Undocumented in source.
this
this(Entity parent)
Undocumented in source.
this
this(Entity parent, Owner owner)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

absolutePosition
Vector3f absolutePosition()
Undocumented in source. Be warned that the author may not have intended to support it.
addBehaviour
Behaviour addBehaviour(Behaviour b)
Undocumented in source. Be warned that the author may not have intended to support it.
behaviour
T behaviour()
Undocumented in source. Be warned that the author may not have intended to support it.
direction
Vector3f direction()
Undocumented in source. Be warned that the author may not have intended to support it.
getInactiveTween
Tween* getInactiveTween()
Undocumented in source. Be warned that the author may not have intended to support it.
hasBehaviour
bool hasBehaviour()
Undocumented in source. Be warned that the author may not have intended to support it.
lift
void lift(float speed)
Undocumented in source. Be warned that the author may not have intended to support it.
move
void move(float speed)
Undocumented in source. Be warned that the author may not have intended to support it.
moveFrom
Tween* moveFrom(Vector3f point, double duration, Easing easing)
Undocumented in source. Be warned that the author may not have intended to support it.
moveFromTo
Tween* moveFromTo(Vector3f pointFrom, Vector3f pointTo, double duration, Easing easing)
Undocumented in source. Be warned that the author may not have intended to support it.
moveTo
Tween* moveTo(Vector3f point, double duration, Easing easing)
Undocumented in source. Be warned that the author may not have intended to support it.
moveToPoint
void moveToPoint(Vector3f p, float speed)
Undocumented in source. Be warned that the author may not have intended to support it.
pitch
void pitch(float angle)
Undocumented in source. Be warned that the author may not have intended to support it.
processEvents
void processEvents()
Undocumented in source. Be warned that the author may not have intended to support it.
release
void release()
Undocumented in source. Be warned that the author may not have intended to support it.
removeBehaviour
void removeBehaviour(Behaviour b)
Undocumented in source. Be warned that the author may not have intended to support it.
removeChild
void removeChild(Entity e)
Undocumented in source. Be warned that the author may not have intended to support it.
render
void render(RenderingContext* rc)
Undocumented in source. Be warned that the author may not have intended to support it.
render
void render(RenderingContext* rc, bool renderChildren)
Undocumented in source. Be warned that the author may not have intended to support it.
right
Vector3f right()
Undocumented in source. Be warned that the author may not have intended to support it.
roll
void roll(float angle)
Undocumented in source. Be warned that the author may not have intended to support it.
rotate
void rotate(Vector3f angles)
Undocumented in source. Be warned that the author may not have intended to support it.
rotate
void rotate(float pitch, float turn, float roll)
Undocumented in source. Be warned that the author may not have intended to support it.
rotateFrom
Tween* rotateFrom(Vector3f anglesFrom, double duration, Easing easing)
Undocumented in source. Be warned that the author may not have intended to support it.
rotateFromTo
Tween* rotateFromTo(Vector3f anglesFrom, Vector3f anglesTo, double duration, Easing easing)
Undocumented in source. Be warned that the author may not have intended to support it.
rotateTo
Tween* rotateTo(Vector3f anglesTo, double duration, Easing easing)
Undocumented in source. Be warned that the author may not have intended to support it.
scale
void scale(float s)
Undocumented in source. Be warned that the author may not have intended to support it.
scale
void scale(Vector3f s)
Undocumented in source. Be warned that the author may not have intended to support it.
scaleFrom
Tween* scaleFrom(Vector3f sFrom, double duration, Easing easing)
Undocumented in source. Be warned that the author may not have intended to support it.
scaleFromTo
Tween* scaleFromTo(Vector3f sFrom, Vector3f sTo, double duration, Easing easing)
Undocumented in source. Be warned that the author may not have intended to support it.
scaleTo
Tween* scaleTo(Vector3f sTo, double duration, Easing easing)
Undocumented in source. Be warned that the author may not have intended to support it.
scaleX
void scaleX(float s)
Undocumented in source. Be warned that the author may not have intended to support it.
scaleY
void scaleY(float s)
Undocumented in source. Be warned that the author may not have intended to support it.
scaleZ
void scaleZ(float s)
Undocumented in source. Be warned that the author may not have intended to support it.
strafe
void strafe(float speed)
Undocumented in source. Be warned that the author may not have intended to support it.
translate
void translate(Vector3f v)
Undocumented in source. Be warned that the author may not have intended to support it.
translate
void translate(float vx, float vy, float vz)
Undocumented in source. Be warned that the author may not have intended to support it.
turn
void turn(float angle)
Undocumented in source. Be warned that the author may not have intended to support it.
up
Vector3f up()
Undocumented in source. Be warned that the author may not have intended to support it.
update
void update(double dt)
Undocumented in source. Be warned that the author may not have intended to support it.
updateTransformation
void updateTransformation(double dt)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

BehaviourListEntry
struct BehaviourListEntry
Undocumented in source.

Variables

absoluteTransformation
Matrix4x4f absoluteTransformation;
Undocumented in source.
angles
Vector3f angles;
Undocumented in source.
attach
Attach attach;
Undocumented in source.
behaviours
DynamicArray!BehaviourListEntry behaviours;
Undocumented in source.
castShadow
bool castShadow;
Undocumented in source.
children
DynamicArray!Entity children;
Undocumented in source.
clearZbuffer
bool clearZbuffer;
Undocumented in source.
controller
EntityController controller;
Undocumented in source.
drawable
Drawable drawable;
Undocumented in source.
dynamic
bool dynamic;
Undocumented in source.
eventManager
EventManager eventManager;
Undocumented in source.
groupID
uint groupID;
Undocumented in source.
id
uint id;
Undocumented in source.
invAbsoluteTransformation
Matrix4x4f invAbsoluteTransformation;
Undocumented in source.
invTransformation
Matrix4x4f invTransformation;
Undocumented in source.
layer
int layer;
Undocumented in source.
material
Material material;
Undocumented in source.
parent
Entity parent;
Undocumented in source.
position
Vector3f position;
Undocumented in source.
prevAbsoluteTransformation
Matrix4x4f prevAbsoluteTransformation;
Undocumented in source.
prevTransformation
Matrix4x4f prevTransformation;
Undocumented in source.
rcLocal
RenderingContext rcLocal;
Undocumented in source.
rotation
Quaternionf rotation;
Undocumented in source.
scaling
Vector3f scaling;
Undocumented in source.
solid
bool solid;
Undocumented in source.
swapZY
bool swapZY;
Undocumented in source.
transformation
Matrix4x4f transformation;
Undocumented in source.
tweens
DynamicArray!Tween tweens;
Undocumented in source.
useMotionBlur
bool useMotionBlur;
Undocumented in source.
useRotationAngles
bool useRotationAngles;
Undocumented in source.
visible
bool visible;
Undocumented in source.

Inherited Members

From Drawable

update
void update(double dt)
Undocumented in source.
render
void render(RenderingContext* rc)
Undocumented in source.

Meta