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

NameTypeDescription
XfloatX component
YfloatY component
ZfloatZ component
WfloatW component (homogeneous coordinate)

See Also