CubeGenerator class

Inheritance

Constructors

CubeGenerator()

Properties

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
vertexCount int
no setteroverride

Methods

createCube(num width, num height, num depth, {GeometryGeneratorFlags? flags, List<GeometryFilter>? filters}) MeshGeometry
createGeometry({GeometryGeneratorFlags? flags, List<GeometryFilter>? filters}) MeshGeometry
inherited
generateIndices(Uint16List indices) → void
override
generateVertexNormals(Vector3List normals, Vector3List positions, Uint16List indices) → void
inherited
generateVertexPositions(Vector3List positions, Uint16List indices) → void
override
generateVertexTangents(Vector4List tangents, Vector3List positions, Vector3List normals, Vector2List texCoords, Uint16List indices) → void
inherited
generateVertexTexCoords(Vector2List texCoords, Vector3List positions, Uint16List indices) → void
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