CircleGenerator class
Generates a flat circular or partial-circle (sector) mesh in the XZ plane, centered at the origin.
- Inheritance
-
- Object
- GeometryGenerator
- CircleGenerator
Constructors
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
-
createCircle(
double radius, {GeometryGeneratorFlags? flags, List< GeometryFilter> ? filters, int segments = 64, double thetaStart = 0.0, double thetaLength = math.pi * 2.0}) → MeshGeometry -
Creates a circle mesh of the given
radius. -
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