UniformMat3Slot class base

A binding to a uniform of type mat3. Calling set on this object updates the uniform's value.

Example:

void updateShader(ui.FragmentShader shader) {
  shader.getUniformMat3('uIdentity').set(
    1.0, 0.0, 0.0,
    0.0, 1.0, 0.0,
    0.0, 0.0, 1.0
  );
}

See also: FragmentShader.getUniformMat3 - How UniformMat3Slot instances are acquired.

Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
set(double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22) → void
Set the float value of the matrix in row-major order.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited