Vector3D Structure

Definition

Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public readonly struct Vector3D : IEquatable<Vector3D>
Inheritance
Object    ValueType    Vector3D
Implements
IEquatableVector3D

Properties

Length Length of the vector.
X 
Y 
Z 

Methods

AbsReturns a vector whose elements are the absolute values of each of the specified vector's elements.
Add(Vector3D, Vector3D) Adds the second to the first vector
Clamp(Vector3D, Vector3D, Vector3D) Restricts a vector between a minimum and a maximum value.
Distance(Vector3D, Vector3D) Computes the Euclidean distance between the two given points.
DistanceSquared(Vector3D, Vector3D) Computes the squared Euclidean distance between the two given points.
Divide(Vector3D, Vector3D) Divides the first vector by the second.
Divide(Vector3D, Double) Divides the vector by the given scalar.
Dot(Vector3D, Vector3D) Calculates the dot product of two vectors.
GetTypeGets the Type of the current instance.
(Inherited from Object)
Max(Vector3D, Vector3D) Returns a vector whose elements are the maximum of each of the pairs of elements in two specified vectors
Min(Vector3D, Vector3D) Returns a vector whose elements are the minimum of each of the pairs of elements in two specified vectors
Multiply(Vector3D, Vector3D) Multiplies the first vector by the second.
Multiply(Vector3D, Double) Multiplies the vector by the given scalar.
Normalize(Vector3D) Returns a normalized version of this vector.
Parse(String) Parses a Vector string.
Substract(Vector3D, Vector3D) Subtracts the second from the first vector

Operators

Addition(Vector3D, Vector3D) Adds the second to the first vector
(Vector3 to Vector3D) 
Multiply(Vector3D, Double) Multiplies the vector by the given scalar.
Subtraction(Vector3D, Vector3D) Subtracts the second from the first vector
UnaryNegation(Vector3D) Negates the vector

See Also