UiWidget

Undocumented in source.

Constructors

this
this()
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

animate
void animate(long interval)

animates window; interval is time left from previous draw, in hnsecs (1/10000000 of second)

animateMoving
void animateMoving()
Undocumented in source. Be warned that the author may not have intended to support it.
onKeyEvent
bool onKeyEvent(KeyEvent event)

process key event, return true if event is processed.

onMouseEvent
bool onMouseEvent(MouseEvent event)

process key event, return true if event is processed.

setAngle
void setAngle(float newAngle, bool animateIt)
Undocumented in source. Be warned that the author may not have intended to support it.
setPos
void setPos(vec3 newPos, bool animateIt)
Undocumented in source. Be warned that the author may not have intended to support it.
setYAngle
void setYAngle(float newAngle, bool animateIt)
Undocumented in source. Be warned that the author may not have intended to support it.
startMoveAnimation
void startMoveAnimation(Vector3d direction)
Undocumented in source. Be warned that the author may not have intended to support it.
stopMoveAnimation
void stopMoveAnimation()
Undocumented in source. Be warned that the author may not have intended to support it.
updateCamPosition
void updateCamPosition(bool animateIt)
Undocumented in source. Be warned that the author may not have intended to support it.
updatePositionMessage
void updatePositionMessage()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

animating
bool animating [@property getter]

returns true is widget is being animated - need to call animate() and redraw

Variables

_angle
float _angle;
Undocumented in source.
_animatingAngle
float _animatingAngle;
Undocumented in source.
_animatingPosition
vec3 _animatingPosition;
Undocumented in source.
_animatingYAngle
float _animatingYAngle;
Undocumented in source.
_cam
Camera _cam;
Undocumented in source.
_directionAngle
float _directionAngle;
Undocumented in source.
_fps
int _fps;
Undocumented in source.
_minerDrawable
MinerDrawable _minerDrawable;
Undocumented in source.
_minerMesh
Mesh _minerMesh;
Undocumented in source.
_moveAnimationDirection
Vector3d _moveAnimationDirection;
Undocumented in source.
_position
vec3 _position;
Undocumented in source.
_scene
Scene3d _scene;
Undocumented in source.
_world
World _world;
Undocumented in source.
_yAngle
float _yAngle;
Undocumented in source.
angle
float angle;
Undocumented in source.
dirLightNode
Node3d dirLightNode;
Undocumented in source.
enableMeshUpdate
bool enableMeshUpdate;
Undocumented in source.
flying
bool flying;
Undocumented in source.
lastMouseX
int lastMouseX;
Undocumented in source.
lastMouseY
int lastMouseY;
Undocumented in source.

Meta