DecomposedTransform class
A decomposed animation transform consisting of a translation, rotation, and scale.
Constructors
- DecomposedTransform({required Vector3 translation, required Quaternion rotation, required Vector3 scale})
- Constructs a new instance of DecomposedTransform.
- DecomposedTransform.fromMatrix(Matrix4 matrix)
-
Constructs a new instance of DecomposedTransform from a
Matrix4
.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- rotation ↔ Quaternion
-
The rotation component of the transform.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scale ↔ Vector3
-
The scale component of the transform.
getter/setter pair
- translation ↔ Vector3
-
The translation component of the transform.
getter/setter pair
Methods
-
clone(
) → DecomposedTransform -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMatrix4(
) → Matrix4 -
Converts this DecomposedTransform to a
Matrix4
. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited