isIdentity property
Whether this transform leaves UV coordinates unchanged.
Implementation
bool get isIdentity =>
offset == Vector2.zero() && scale == Vector2.all(1.0) && rotation == 0.0;
Whether this transform leaves UV coordinates unchanged.
bool get isIdentity =>
offset == Vector2.zero() && scale == Vector2.all(1.0) && rotation == 0.0;