  Vector3 Structure
A vector with three components.

Namespace: Aspose.ThreeD.Utilities
Assembly: Aspose.3D (in Aspose.3D.dll) Version: 21.5.0.0 (21.5) Syntax
`public struct Vector3 : IComparable<Vector3>`

The Vector3 type exposes the following members. Constructors
NameDescription Vector3(Double)
Initializes a new instance of the Vector3 struct. Vector3(Color)
Initializes a new instance of the Vector3 struct. Vector3(FVector3)
Initializes a new instance of the Vector3 struct. Vector3(Vector4)
Initializes a new instance of the Vector3 struct. Vector3(Double, Double, Double)
Initializes a new instance of the Vector3 struct. Properties
NameDescription Length
Gets the length of this vector. Length2
Gets the square of the length. Methods
NameDescription AngleBetween(Vector3)
Calculate the inner angle between two direction Two direction can be non-normalized vectors AngleBetween(Vector3, Vector3)
Calculate the inner angle between two direction Two direction can be non-normalized vectors CompareTo
Compare current vector to another instance. Cos
Calculates cosine on each component Cross
Cross product of two vectors Dot
Gets the dot product of two vectors Equals
Check if two vector3 equals
(Overrides ValueTypeEquals(Object).) GetHashCode
Gets the hash code of Vector3
(Overrides ValueTypeGetHashCode.) GetType (Inherited from Object.) Normalize
Normalizes this instance. Set
Sets the x/y/z component in one call. Sin
Calculates sine on each component ToString
Returns a String that represents the current Vector3.
(Overrides ValueTypeToString.) Operators
NameDescription  Addition  Division  Equality
Equal operator for Vector3  (Vector3 to FVector3)  Inequality
Not-equal operator for Vector3  Multiply(Double, Vector3)  Multiply(Vector3, Vector3)  Multiply(Vector3, Double)  Subtraction  UnaryNegation Fields
NameDescription  Origin
Gets the origin position.  UnitScale
Gets the unit scale vector. x
The x component.  XAxis
Gets the X axis. y
The y component.  YAxis
Gets the Y axis. z
The z component.  ZAxis
Gets the Z axis. See Also