position property

Vector3 get position

Determines the receiver's position.

Implementation

Vector3 get position => transform.getTranslation();
set position (Vector3 value)

Implementation

set position(Vector3 value) {
  final old = Matrix4.fromFloat64List(transform.storage);
  final newT = old.clone();
  newT.setTranslation(value);
  transform = newT;
}