FlatShadeFilter class

Expands a mesh to triangle vertices and generates flat-shaded normals.

Inheritance

Constructors

FlatShadeFilter()

Properties

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 setteroverride
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