Vector4 — Aspose.3D FOSS for .NET
Overview
Vector4 is a single-precision 4-component vector used for control points (homogeneous vertex positions), normal data, and colour values. The W component is typically 1.0f for standard Cartesian positions.
var point = new Vector4(1.0f, 2.0f, 3.0f, 1.0f);Fields
| Name | Type | Description |
|---|---|---|
X | float | X component |
Y | float | Y component |
Z | float | Z component |
W | float | W component (homogeneous coordinate) |