rotation property

Matrix3 get rotation

Determines the receiver's rotation.

Implementation

Matrix3 get rotation => transform.getRotation();
set rotation (Matrix3 value)

Implementation

set rotation(Matrix3 value) {
  transform = Matrix4.compose(
    position,
    Quaternion.fromRotation(value),
    scale,
  );
}