TransformFilter class
Applies a matrix transform to each mesh position in-place.
- Inheritance
-
- Object
- GeometryFilter
- InplaceGeometryFilter
- TransformFilter
Constructors
- TransformFilter(Matrix4 transform)
-
Creates a filter that transforms positions using
transform.
Properties
-
generates
→ List<
VertexAttrib> -
Vertex attributes that this filter guarantees on the output mesh.
no setterinherited
- 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 setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- transform ↔ Matrix4
-
The transform applied to each position in the mesh.
getter/setter pair
Methods
-
filter(
MeshGeometry mesh) → MeshGeometry -
Returns a copy of the mesh with any filter transforms applied.
inherited
-
filterInplace(
MeshGeometry mesh) → void -
Applies the filter to the mesh.
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