ColorFilter class
Assigns a single color to every vertex in a mesh.
- Inheritance
-
- Object
- GeometryFilter
- ColorFilter
Constructors
- ColorFilter(Vector4 color)
-
Creates a filter that writes
colorinto the meshCOLORattribute.
Properties
- color ↔ Vector4
-
The color written to each output vertex.
getter/setter pair
-
generates
→ List<
VertexAttrib> -
Vertex attributes that this filter guarantees on the output mesh.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- inplace → bool
-
Whether this filter supports in-place modification of a mesh.
no setterinherited
-
requires
→ List<
VertexAttrib> -
Vertex attributes that must be present on the input mesh.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
filter(
MeshGeometry mesh) → MeshGeometry -
Returns a copy of the mesh with any filter transforms applied.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited