Vector4 class
class Vector4
- Annotations
-
- @JS()
Properties
Methods
-
add(
Vector4 otherVector) → Vector4 -
addInPlace(
Vector4 otherVector) → Vector4 -
addToRef(
Vector4 otherVector, Vector4 result) → Vector4 -
asArray(
) → List< num> -
clone(
) → Vector4 -
copyFrom(
Vector4 source) → Vector4 -
copyFromFloats(
num x, num y, num z, num w) → Vector4 -
divide(
Vector4 otherVector) → Vector4 -
divideInPlace(
Vector4 otherVector) → Vector4 -
divideToRef(
Vector4 otherVector, Vector4 result) → Vector4 -
equals(
Vector4 otherVector) → bool -
equalsToFloats(
num x, num y, num z, num w) → bool -
equalsWithEpsilon(
Vector4 otherVector, [num epsilon]) → bool -
floor(
) → Vector4 -
fract(
) → Vector4 -
fromArray(
Float32List array, [num index]) → Vector4 -
getClassName(
) → String -
getHashCode(
) → num -
length(
) → num -
lengthSquared(
) → num -
maximizeInPlace(
Vector4 other) → Vector4 -
minimizeInPlace(
Vector4 other) → Vector4 -
multiply(
Vector4 otherVector) → Vector4 -
multiplyByFloats(
num x, num y, num z, num w) → Vector4 -
multiplyInPlace(
Vector4 otherVector) → Vector4 -
multiplyToRef(
Vector4 otherVector, Vector4 result) → Vector4 -
negate(
) → Vector4 -
negateInPlace(
) → Vector4 -
negateToRef(
Vector4 result) → Vector4 -
normalize(
) → Vector4 -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
scale(
num scale) → Vector4 -
scaleAndAddToRef(
num scale, Vector4 result) → Vector4 -
scaleInPlace(
num scale) → Vector4 -
scaleToRef(
num scale, Vector4 result) → Vector4 -
set(
num x, num y, num z, num w) → Vector4 -
setAll(
num v) → Vector4 -
subtract(
Vector4 otherVector) → Vector4 -
subtractFromFloats(
num x, num y, num z, num w) → Vector4 -
subtractFromFloatsToRef(
num x, num y, num z, num w, Vector4 result) → Vector4 -
subtractInPlace(
Vector4 otherVector) → Vector4 -
subtractToRef(
Vector4 otherVector, Vector4 result) → Vector4 -
toArray(
Float32List array, [num index]) → Vector4 -
toString(
) → String -
A string representation of this object.
override
-
toVector3(
) → Vector3
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
Center(
Vector4 value1, Vector4 value2) → Vector4 -
Distance(
Vector4 value1, Vector4 value2) → num -
DistanceSquared(
Vector4 value1, Vector4 value2) → num -
FromArray(
List< num> array, [num offset]) → Vector4 -
FromArrayToRef(
List< num> array, num offset, Vector4 result) → void -
FromFloatArrayToRef(
Float32List array, num offset, Vector4 result) → void -
FromFloatsToRef(
num x, num y, num z, num w, Vector4 result) → void -
FromVector3(
Vector3 source, [num w]) → Vector4 -
Maximize(
Vector4 left, Vector4 right) → Vector4 -
Minimize(
Vector4 left, Vector4 right) → Vector4 -
Normalize(
Vector4 vector) → Vector4 -
NormalizeToRef(
Vector4 vector, Vector4 result) → void -
One(
) → Vector4 -
TransformNormal(
Vector4 vector, Matrix transformation) → Vector4 -
TransformNormalFromFloatsToRef(
num x, num y, num z, num w, Matrix transformation, Vector4 result) → void -
TransformNormalToRef(
Vector4 vector, Matrix transformation, Vector4 result) → void -
Zero(
) → Vector4