Click or drag to resize

Vector3 Methods

The Vector3 type exposes the following members.

Methods
  NameDescription
Public methodStatic memberBarycentric
Creates a new Vector3 that contains the cartesian coordinates of a vector specified in barycentric coordinates and relative to 3d-triangle.
Public methodStatic memberCatmullRom
Creates a new Vector3 that contains CatmullRom interpolation of the specified vectors.
Public methodStatic memberClamp
Clamps the specified value within a range.
Public methodStatic memberCross
Computes the cross product of two vectors.
Public methodStatic memberDistance
Returns the distance between two vectors.
Public methodStatic memberDistanceSquared
Returns the squared distance between two vectors.
Public methodDistanceTo
Gets the distance to another Vector3.
Public methodStatic memberDot
Returns a dot product of two vectors.
Public methodEquals(Object)
Indicates whether this instance and a specified object are equal.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(Vector3)
Indicates whether this instance and a specified object are equal.
Public methodGetHashCode
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberHermite
Creates a new Vector3 that contains hermite spline interpolation.
Public methodStatic memberLerp
Creates a new Vector3 that contains linear interpolation of the specified vectors.
Public methodStatic memberMax
Creates a new Vector3 that contains a maximal values from the two vectors.
Public methodStatic memberMin
Creates a new Vector3 that contains a minimal values from the two vectors.
Public methodStatic memberNormalize
Creates a new Vector3 that contains a normalized values from another vector.
Public methodNormalized
Creates a new Vector3 instance with the components normalized to a single unit.
Public methodStatic memberReflect
Creates a new Vector3 that contains reflect vector of the given vector and normal.
Public methodStatic memberSmoothStep
Creates a new Vector3 that contains cubic interpolation of the specified vectors.
Public methodToString
Returns the fully qualified type name of this instance.
(Overrides ValueTypeToString.)
Public methodStatic memberTransform(Vector3, Matrix)
Creates a new Vector3 that contains a transformation of 3d-vector by the specified Matrix.
Public methodStatic memberTransform(Vector3, Quaternion)
Creates a new Vector3 that contains a transformation of 3d-vector by the specified Quaternion, representing the rotation.
Public methodStatic memberTransformNormal
Creates a new Vector3 that contains a transformation of the specified normal by the specified Matrix.
Top
See Also