DiTreDiConfig class
Configuration of DiTreDi.
Constructors
- DiTreDiConfig({Color defaultColorMesh = const Color.fromARGB(255, 255, 255, 255), Color defaultColorPoints = const Color.fromARGB(255, 200, 200, 200), double defaultPointWidth = 1, double defaultLineWidth = 1, bool perspective = true, bool supportZIndex = true})
-
Creates a new DiTreDiConfig.
const
Properties
- defaultColorMesh → Color
-
Default color for Face3D, Mesh3D, Cube3D etc.
final
- defaultColorPoints → Color
-
Default color for Point3D.
final
- defaultLineWidth → double
-
Default color for Line3D.
final
- defaultPointWidth → double
-
Default width for Point3D.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- perspective → bool
-
If true, objects will be drawn with depth.
Defaults to true.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- supportZIndex → bool
-
If true, drawn objects will be sorted by distance to the camera.
Disable to improve performance.
final
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