x value of the vector.
y value of the vector.
z value of the vector.
Computes this + (pX,pY,pZ) and stores it into pOut.
If pOut is omitted, the result is stored in this.
Returns pOut.
x value of the vector to add.y value of the vector to add.z value of the vector to add.Optional pOut: Vector3pOut.
Computes the cross vector between this and (pX,pY,pZ) (expressed as Other) and stores it into pOut.
If pOut is omitted, the result is stored in this.
Returns pOut.
x value of the vector to compute the cross product with.y value of the vector to compute the cross product with.z value of the vector to compute the cross product with.Optional pOut: Vector3this ^ Other).pOut.
Computes the euclidean distance between this and pVec.
The distance between this and pVec.
Computes the dot product between this and (pX,pY,pZ).
x value of the vector to compute the dot with.y value of the vector to compute the dot with.z value of the vector to compute the dot with.The dot product ( dot(this, (pX,pY,pZ)) ) .
Computes the dot product between this and pOther.
The dot product ( dot(this, pOther) ).
Tells if the two vectors are strictly identical.
true if the two vectors are strictly identical.
Sets the content of the Vector from a former call to toJSON.
true if the data is set.
Computes the linear interpolation between this and (pX,pY,pZ) and stores the result in pOut.
pOut = this + pTime x ( (pX,pY,pZ) - this).
If pTime=0, pOut = this.
If pTime=1, pOut = (pX,pY,pZ).
If pOut is omitted, the result of the interpolation is stored in this.
No check is done to ensure pTime is in the range [0,1].
x value of the destination vector.y value of the destination vector.z value of the destination vector.Optional pOut: Vector3pOut.
Computes the linear interpolation between this and pOther and stores the result in pOut.
pOut = this + pTime x ( pOther - this).
If pTime=0, pOut = this.
If pTime=1, pOut = pOther.
If pOut is omitted, the result of the interpolation is stored in this.
No check is done to ensure pTime is in the range [0,1].
pOut.
Computes the squared euclidean distance between this and pVec.
The squared distance between this and pVec.
Computes this - (pX,pY,pZ) and stores it into pOut.
If pOut is omitted, the result is stored in this.
Returns pOut.
x value of the vector to subtract.y value of the vector to subtract.z value of the vector to subtract.Optional pOut: Vector3pOut.
A 3 dimensional vector.