Matrix4Utility<T extends Attribute> class
A utility class for creating Attribute instances from Matrix4 values.
This class extends ScalarUtility and provides methods to create Attribute instances from predefined Matrix4 values or custom Matrix4 values.
- Inheritance
-
- Object
- MixUtility<
T, Matrix4> - ScalarUtility<
T, Matrix4> - Matrix4Utility
Constructors
- Matrix4Utility(T builder(Matrix4))
-
const
Properties
Methods
-
call(
Matrix4 value) → T -
inherited
-
identity(
) → T - Creates an Attribute instance with Matrix4.identity.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rotationX(
double radians) → T - Creates an Attribute instance with a Matrix4 rotated around the x-axis.
-
rotationY(
double radians) → T - Creates an Attribute instance with a Matrix4 rotated around the y-axis.
-
rotationZ(
double radians) → T - Creates an Attribute instance with a Matrix4 rotated around the z-axis.
-
toString(
) → String -
A string representation of this object.
inherited
-
translationValues(
double x, double y, double z) → T - Creates an Attribute instance with a Matrix4 translated by the given values.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited