UniformVec3Slot class base

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

Example:

void updateShader(ui.FragmentShader shader, double time) {
  shader.getUniformVec3('uScaledTime').set(time, time*0.1, time*0.01);
}

See also: FragmentShader.getUniformVec3 - How UniformVec3Slot instances are acquired.

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 x, double y, double z) → void
Set the float value of the bound uniform.
toString() String
A string representation of this object.
inherited

Operators

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