transform property

Matrix4? transform

The matrix to apply.

The scene must be explicitly recomposited after this property is changed (as described at Layer).

This transform is applied before offset, if both are set.

The transform property must be non-null before the compositing phase of the pipeline.

Implementation

Matrix4? get transform => _transform;
void transform=(Matrix4? value)

Implementation

set transform(Matrix4? value) {
  assert(value != null);
  assert(value!.storage.every((double component) => component.isFinite));
  if (value == _transform) {
    return;
  }
  _transform = value;
  _inverseDirty = true;
  markNeedsAddToScene();
}