Methods
-
add(Vector a)
→ Vector
-
-
addScalar(double s)
→ Vector
-
-
addScaled(Vector v, double s)
→ Vector
-
-
applyMatrix3(Matrix3 m)
→ Vector
-
-
ceil()
→ Vector
-
-
clampLength<T extends num>(T min, T max)
→ Vector
-
-
clampScalar(double minVal, double maxVal)
→ Vector
-
-
clone()
→ Vector
-
-
copyFromArray(List<double> array, [int offset = 0])
→ Vector
-
-
copyFromUnknown(dynamic array, [int offset = 0])
→ Vector
-
-
copyIntoArray([List<double> array, int offset = 0])
→ List<double>
-
-
distanceTo(Vector v)
→ double
-
-
distanceToSquared(Vector v)
→ double
-
-
divideScalar(double scalar)
→ Vector
-
-
dot(Vector v)
→ double
-
-
equals(Vector v)
→ bool
-
-
floor()
→ Vector
-
-
fromBuffer(BufferAttribute<NativeArray<num>> attribute, int index)
→ Vector
-
-
fromNativeArray(NativeArray<num> array, [int offset = 0])
→ Vector
-
-
getComponent(int index)
→ num
-
-
manhattanLength()
→ double
-
-
negate()
→ Vector
-
-
normalize()
→ Vector
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
random()
→ Vector
-
-
round()
→ Vector
-
-
roundToZero()
→ Vector
-
-
scale(double scalar)
→ Vector
-
-
setFrom(Vector v)
→ Vector
-
-
setLength(double length)
→ Vector
-
-
setScalar(double scalar)
→ Vector
-
-
setValues(double x, double y)
→ Vector
-
-
sub(Vector a)
→ Vector
-
-
subScalar(double s)
→ Vector
-
-
toJson()
→ Map<String, dynamic>
-
-
toList()
→ List<double>
-
-
toNumArray(List<num> array, [int offset = 0])
→ List<num>
-
-
toString()
→ String
-
A string representation of this object.
inherited