Click or drag to resize

Vector4 Methods

The Vector4 type exposes the following members.

Methods
  NameDescription
Public methodAdd(Vector4)
Vector4 addition
Public methodStatic memberAdd(Vector4, Vector4)
Vector4 addition
Public methodDot(Vector4)
Dot product of two Vector4s
Public methodStatic memberDot(Vector4, Vector4)
Dot product of two Vector4s
Public methodDotD(Vector4)
Dot product of two Vector4s
Public methodStatic memberDotD(Vector4, Vector4)
Dot product of two Vector4s
Public methodEquals(Object)
Vector4 exact equality - see EQ(Vector4, Vector4) for alternative
(Overrides ValueTypeEquals(Object).)
Public methodEquals(Vector4)
Vector4 exact equality - see EQ(Vector4, Vector4) for alternative
Public methodGetHashCode
Returns the hash code for the current Vector4.
(Overrides ValueTypeGetHashCode.)
Public methodLength
Length of Vector4
Public methodStatic memberLength(Vector4)
Length of Vector4
Public methodLengthD
Length of Vector4
Public methodStatic memberLengthD(Vector4)
Length of Vector4
Public methodLengthSq
Length squared of Vector4
Public methodStatic memberLengthSq(Vector4)
Length squared of Vector4
Public methodLengthSqD
Length squared of Vector4
Public methodStatic memberLengthSqD(Vector4)
Length squared of Vector4
Public methodLerp(Vector4, Double)
Linear interpolation between this Vector4 and another Vector4

This is most commonly used to find a point some fraction of the way along a line between two endpoints When t = 0 returns this. When t = 1 returns b. When t = 0.5 returns the point midway between this and b.

Public methodStatic memberLerp(Vector4, Vector4, Double)
Linear interpolation between two Vector4s

This is most commonly used to find a point some fraction of the way along a line between two endpoints When t = 0 returns a. When t = 1 returns b. When t = 0.5 returns the point midway between a and b.

Public methodStatic memberLerp(Vector4, Vector4, Single)
Linear interpolation between two Vector4s

This is most commonly used to find a point some fraction of the way along a line between two endpoints When t = 0 returns a. When t = 1 returns b. When t = 0.5 returns the point midway between a and b.

Public methodMaximize(Vector4)
Vector4 maximization - combination of the largest components
Public methodStatic memberMaximize(Vector4, Vector4)
Vector4 maximization - combination of the largest components
Public methodMinimize(Vector4)
Vector4 minimization - combination of the smallest components
Public methodStatic memberMinimize(Vector4, Vector4)
Vector4 minimization - combination of the smallest components
Public methodMultiply(Double)
Scale the X, Y, Z and W components of Vector4
Public methodMultiply(Single)
Scale the X, Y, Z and W components of Vector4
Public methodMultiply(Vector4)
Scale the X, Y, Z and W components of Vector4.
Public methodStatic memberMultiply(Vector4, Vector4)
Scale the X, Y, and Z components of Vector4 .
Public methodStatic memberMultiply(Vector4, Double)
Scale the X, Y, Z and W components of Vector4
Public methodStatic memberMultiply(Vector4, Single)
Scale the X, Y, Z and W components of Vector4
Public methodStatic memberMultiplyAdd
Combined multiplication and addition
Public methodNegate
Vector4 in-place negation.
Public methodNormalize
Vector4 normalization - make its length be 1
Public methodStatic memberNormalize(Vector4)
Vector4 normalization - make its length be 1
Public methodScale(Double)
Scale the X, Y, Z and W components of Vector4
Public methodScale(Single)
Scale the X, Y, Z and W components of Vector4
Public methodScale(Vector4)
Scale the X, Y, Z and W components of Vector4.
Public methodStatic memberScale(Vector4, Vector4)
Scale the X, Y, Z and W components of Vector4 .
Public methodStatic memberScale(Vector4, Double)
Scale the X, Y, Z and W components of Vector4
Public methodStatic memberScale(Vector4, Single)
Scale the X, Y, Z and W components of Vector4
Public methodSubtract(Vector4)
Vector4 subtraction
Public methodStatic memberSubtract(Vector4, Vector4)
Vector4 subtraction
Public methodToString
Returns a string that represents the current Vector4.
(Overrides ValueTypeToString.)
Public methodStatic memberTransform
Transforms a Vector4 by the given Matrix
Top
See Also