EntityTransformController class

Constructors

EntityTransformController(ThermionViewer controller, ThermionEntity _entity, {double translationSpeed = 1, double rotationRadsPerSecond = pi / 2, int? forwardAnimationIndex, int? backwardAnimationIndex, int? strafeLeftAnimationIndex, int? strafeRightAnimationIndex})

Properties

backwardAnimationIndex int?
getter/setter pair
controller ThermionViewer
final
forwardAnimationIndex int?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
rotationRadsPerSecond double
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
strafeLeftAnimationIndex int?
getter/setter pair
strafeRightAnimationIndex int?
getter/setter pair
translationSpeed double
getter/setter pair

Methods

backPressed() → void
backReleased() → void
disable() → void
dispose() → void
enable() → void
forwardPressed() → void
forwardReleased() → void
look(double deltaX) → void
mouse1Down() → void
mouse1Up() → void
mouse2Down() → void
mouse2Up() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onMouse1Down(void callback()) → void
strafeLeftPressed() → void
strafeLeftReleased() → void
strafeRightPressed() → void
strafeRightReleased() → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited