localTransform property

Matrix4 get localTransform

The transform of this node relative to its parent: position, rotation, and scale.

Assigning marks this node and its descendants' cached world transforms stale, and this node and its ancestors' cached bounds stale. Mutating the returned matrix in place does not, so call markTransformDirty after an in-place edit.

Implementation

Matrix4 get localTransform => _localTransform;
set localTransform (Matrix4 value)

Implementation

set localTransform(Matrix4 value) {
  _localTransform = value;
  markTransformDirty();
}