Quad class Null safety

Defines a quad by four points.

Constructors

Quad()
Create a new, uninitialized quad.
Quad.copy(Quad other)
Create a quad as a copy of other.
Quad.points(Vector3 point0, Vector3 point1, Vector3 point2, Vector3 point3)
Create a quad by four points.

Properties

hashCode int
The hash code for this object.
read-onlyinherited
point0 Vector3
The first point of the quad.
read-only
point1 Vector3
The second point of the quad.
read-only
point2 Vector3
The third point of the quad.
read-only
point3 Vector3
The third point of the quad.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

copyFrom(Quad other) → void
Copy the quad from other into this.
copyNormalInto(Vector3 normal) → void
Copy the normal of this into normal.
copyTriangles(Triangle triangle0, Triangle triangle1) → void
Copies the two triangles that define this.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
transform(Matrix4 t) → void
Transform this by the transform t.
translate(Vector3 offset) → void
Translate this by offset.

Operators

operator ==(Object other) bool
The equality operator.
inherited