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
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