Vector4
Overview
Vector4 is a struct in Aspose.3D FOSS for .NET.
Inherits from: IComparable<Vector4>, IEquatable<Vector4>.
Vector4.Vector4 creates a Vector4 from x, y, z, and w components.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Length | double | Read |
Methods
| Signature | Description |
|---|---|
Vector4(vec: Vector3, w: double) | Creates a 4‑component vector with the given x, y, z, w values |
Vector4(vec: Vector3) | |
Vector4(vec: FVector4) | |
Vector4(x: double, y: double, z: double) | |
Vector4(x: double, y: double, z: double, w: double) | |
Set(newX: double, newY: double, newZ: double) | Updates the x, y, z components, leaving w unchanged |
Set(newX: double, newY: double, newZ: double, newW: double) | |
Equals(obj: object?) | |
Equals(rhs: Vector4) | |
GetHashCode() | |
ToString() | |
CompareTo(other: Vector4) | Compares this vector with another for ordering |