GeometryHelper class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
camera({double bodyWidth = 0.6, double bodyHeight = 0.7, double bodyDepth = 1.4, double lensRadius = 0.3, double lensLength = 0.4, bool normals = true, bool uvs = true})
→ Geometry
-
-
conic({double radius = 1.0, double length = 1.0, bool normals = true, bool uvs = true})
→ Geometry
-
-
cube({bool normals = true, bool uvs = true, bool flipUvs = true})
→ Geometry
-
-
cylinder({double radius = 1.0, double length = 1.0, bool normals = true, bool uvs = true})
→ Geometry
-
-
fromAabb3(Aabb3 aabb, {bool normals = true, bool uvs = true})
→ Geometry
-
-
fullscreenQuad()
→ Geometry
-
-
halfPyramid({double startX = 0.25, double startY = 0.25, double width = 1.0, double height = 1.0, double depth = 1.0, bool normals = true, bool uvs = true})
→ Geometry
-
-
plane({double width = 1.0, double height = 1.0, bool normals = true, bool uvs = true})
→ Geometry
-
-
sphere({bool normals = true, bool uvs = true})
→ Geometry
-
-
wireframeCamera({double sphereRadius = 0.2, double frustumDistance = 1.0, double frustumNear = 0.5, double frustumFar = 1.0, double fov = pi / 3, bool normals = true, bool uvs = true, double wireThickness = 0.01})
→ Geometry
-