This topic has not yet been rated - Rate this topic

Vector4 Methods

Name Description
Public Method Static Add Overloaded. Adds two vectors.
Public Method Static Barycentric Overloaded. Returns a Vector4 containing the 4D Cartesian coordinates of a point specified in barycentric (areal) coordinates relative to a 4D triangle.
Public Method Static CatmullRom Overloaded. Performs a Catmull-Rom interpolation using the specified positions.
Public Method Static Clamp Overloaded. Restricts a value to be within a specified range.
Public Method Static Distance Overloaded. Calculates the distance between two vectors.
Public Method Static DistanceSquared Overloaded. Calculates the distance between two vectors squared.
Public Method Static Divide Overloaded. Divide a vector by a scalar or another vector.
Public Method Static Dot Overloaded. Calculates the dot product of two vectors.
Public Method Equals Overloaded. Returns a value that indicates whether the current instance is equal to a specified object.
Public Method GetHashCode Gets the hash code of this object.
Public Method GetType (Inherited from Object.)
Public Method Static Hermite Overloaded. Performs a Hermite spline interpolation.
Public Method Length Calculates the length of the vector.
Public Method LengthSquared Calculates the length of the vector squared.
Public Method Static Lerp Overloaded. Performs a linear interpolation between two vectors.
Public Method Static Max Overloaded. Returns a vector that contains the highest value from each matching pair of components.
Public Method Static Min Overloaded. Returns a vector that contains the lowest value from each matching pair of components.
Public Method Static Multiply Overloaded. Multiplies a vector by a scalar or another vector.
Public Method Static Negate Overloaded. Returns a vector pointing in the opposite direction.
Public Method Normalize Overloaded. Creates a unit vector from the specified vector.
Public Method Static op_Addition Adds two vectors.
Public Method Static op_Division Overloaded. Divides a vector by a scalar or another vector.
Public Method Static op_Equality Tests vectors for equality.
Public Method Static op_Inequality Tests vectors for inequality.
Public Method Static op_Multiply Overloaded. Multiplies a vector by a scalar or another vector.
Public Method Static op_Subtraction Subtracts a vector from a vector.
Public Method Static op_UnaryNegation Returns a vector pointing in the opposite direction.
Public Method Static SmoothStep Overloaded. Interpolates between two values using a cubic equation.
Public Method Static Subtract Overloaded. Subtracts a vector from a vector.
Public Method ToString Retrieves a string representation of the current object.
Public Method Static Transform Overloaded. Transforms one or more vectors by a specified Matrix or Quaternion and returns the results in Vector4 form.
Name Description
Protected Method Finalize (Inherited from Object.)
Protected Method MemberwiseClone (Inherited from Object.)
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ