DerivedShape class abstract base

A shape defined by delegating to another one.

Useful where a shape is a special case of a more general generator — a cone is a cylinder with a zero top radius, a sphere is a revolved arc — and the relationship is worth expressing in the type rather than duplicating the generation code.

Inheritance
Implementers

Constructors

DerivedShape()
const

Properties

delegate → Shape
The shape this one reduces to.
no setter
hashCode → int
The hash code for this object.
no setterinherited
name → String
Name for diagnostics and UI labels.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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