Vector3 class

An immutable three-component vector used for model vertices and transforms.

Constructors

Vector3(double x, double y, double z)
const
Vector3.one()
const
Vector3.zero()
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
x → double
final
y → double
final
z → double
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 +(Vector3 other) → Vector3
operator -(Vector3 other) → Vector3
operator ==(Object other) → bool
The equality operator.
override