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

Constructors

Matrix4Utility(T builder(Matrix4))
const

Properties

builder → T Function(Matrix4)
finalinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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