CpuMesh class final

A mesh that lives only on the CPU.

For geometry that is queried but never drawn — collision proxies, navigation meshes, a headless scene under test — and for the tests of everything that consumes MeshGeometry.

Implemented types

Constructors

CpuMesh(MeshData source)

Properties

boundingRadius double
Radius of the sphere around the bounds centre, used to frame a camera.
no setteroverride
bounds → Aabb3
Object-space bounds.
final
hashCode int
The hash code for this object.
no setterinherited
indexCount int
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source MeshData
The CPU-side geometry, when it is still around.
final
vertexCount int
no setteroverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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