Vector3 class

Vector3, 3 components.

Constructors

Vector3(double x, double y, double z)
Vector3, 3 components.
Vector3.all(double value)
Construct Vector3 with all values set to value.
Vector3.fromRef(Vector3 ref)
Construct Vector3 from native reference.
Vector3.zero()
Construct empty Vector3.

Properties

hashCode int
The hash code for this object.
no setterinherited
pointer Pointer<Vector3>?
Native pointer, used internally.
final
ref ↔ Vector3
Native reference.
latefinalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
x double
Vector x component.
getter/setter pair
y double
Vector y component.
getter/setter pair
z double
Vector z component.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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