CuboidGeometrySpec class
A box of the given extents, optionally with per-corner debug colors.
- Inheritance
-
- Object
- ProceduralGeometry
- CuboidGeometrySpec
Constructors
-
CuboidGeometrySpec({required Vector3 extents, bool debugColors = false, Map<
String, Object?> unknown = const {}}) - Creates a cuboid spec.
Properties
- debugColors → bool
-
Whether each corner carries a distinct debug color.
final
- extents → Vector3
-
The box dimensions.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
unknown
→ Map<
String, Object?> -
Keys this build of the engine does not recognize, kept verbatim so a
document written by a newer engine or an extension survives a load and
save unchanged.
finalinherited
Methods
-
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