PlaneShape class final

Subdivided plane in the XZ plane, normal pointing at +Y.

Inheritance

Constructors

PlaneShape({double width = 1.0, double depth = 1.0, int widthSegments = 1, int depthSegments = 1})
const

Properties

depth → double
final
depthSegments → int
final
hashCode → int
The hash code for this object.
no setterinherited
name → String
Name for diagnostics and UI labels.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
width → double
final
widthSegments → int
final

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