CubeGenerator class

Inheritance

Constructors

CubeGenerator()

Properties

indexCount int
read-only
vertexCount int
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

createCube(num width, num height, num depth, { GeometryGeneratorFlags flags, List<GeometryFilter> filters }) MeshGeometry
generateIndices(Uint16List indices) → void
generateVertexPositions(Vector3List positions, Uint16List indices) → void
generateVertexTexCoords(Vector2List texCoords, Vector3List positions, Uint16List indices) → void
createGeometry({GeometryGeneratorFlags flags, List<GeometryFilter> filters }) MeshGeometry
inherited
generateVertexNormals(Vector3List normals, Vector3List positions, Uint16List indices) → void
inherited
generateVertexTangents(Vector4List tangents, Vector3List positions, Vector3List normals, Vector2List texCoords, Uint16List indices) → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
@pragma('vm:entry-point'), inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited