MeshDrawSelection class final Geometry
The part of a mesh to draw.
A null instanceCount draws every instance, and a null indexCount every index from firstIndex. For geometry without indices the index range counts vertices.
Constructors
- MeshDrawSelection({int? instanceCount, int firstIndex = 0, int? indexCount})
-
Selects
instanceCountinstances (a prefix of the instance list) andindexCountindices fromfirstIndex.const
Properties
- firstIndex → int
-
The first index (or vertex) drawn.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- indexCount → int?
-
How many indices (or vertices) draw, or null for the rest.
final
- instanceCount → int?
-
How many leading instances draw, or null for all.
final
- isAll → bool
-
Whether this selection draws the whole mesh.
no setter
- 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- all → const MeshDrawSelection
- Draws everything.