ConeShape class final

Cone with the apex at +Y: a cylinder whose top radius is zero.

Inheritance

Constructors

ConeShape({double radius = 0.5, double height = 1.0, int segments = 32, bool capped = true})
const

Properties

capped → bool
final
delegate → Shape
The shape this one reduces to.
no setteroverride
hashCode → int
The hash code for this object.
no setterinherited
height → double
final
name → String
Name for diagnostics and UI labels.
no setteroverride
radius → double
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
segments → int
final

Methods

build({VertexLayout layout = VertexLayout.standard}) → MeshData
Generates the geometry for the requested layout.
inherited
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