Vector3 Methods |
The Vector3 type exposes the following members.
Name | Description | |
---|---|---|
Barycentric |
Creates a new Vector3 that contains the cartesian coordinates of a vector specified in barycentric
coordinates and relative to 3d-triangle.
| |
CatmullRom |
Creates a new Vector3 that contains CatmullRom interpolation of the specified vectors.
| |
Clamp |
Clamps the specified value within a range.
| |
Cross |
Computes the cross product of two vectors.
| |
Distance |
Returns the distance between two vectors.
| |
DistanceSquared |
Returns the squared distance between two vectors.
| |
DistanceTo |
Gets the distance to another Vector3.
| |
Dot |
Returns a dot product of two vectors.
| |
Equals(Object) |
Indicates whether this instance and a specified object are equal.
(Overrides ValueTypeEquals(Object).) | |
Equals(Vector3) |
Indicates whether this instance and a specified object are equal.
| |
GetHashCode |
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Hermite |
Creates a new Vector3 that contains hermite spline interpolation.
| |
Lerp |
Creates a new Vector3 that contains linear interpolation of the specified vectors.
| |
Max |
Creates a new Vector3 that contains a maximal values from the two vectors.
| |
Min |
Creates a new Vector3 that contains a minimal values from the two vectors.
| |
Normalize |
Creates a new Vector3 that contains a normalized values from another vector.
| |
Normalized |
Creates a new Vector3 instance with the components normalized to a single unit.
| |
Reflect |
Creates a new Vector3 that contains reflect vector of the given vector and normal.
| |
SmoothStep |
Creates a new Vector3 that contains cubic interpolation of the specified vectors.
| |
ToString |
Returns the fully qualified type name of this instance.
(Overrides ValueTypeToString.) | |
Transform(Vector3, Matrix) | ||
Transform(Vector3, Quaternion) |
Creates a new Vector3 that contains a transformation of 3d-vector by the specified
Quaternion, representing the rotation.
| |
TransformNormal |