Vector4 — Aspose.3D FOSS for .NET
Example
Vector4 je jednoprecízny 4‑komponentový vektor používaný pre kontrolné body (homogénne pozície vrcholov), normálové dáta a farebné hodnoty. The W komponent je typicky 1.0f pre štandardné kartézske pozície.
var point = new Vector4(1.0f, 2.0f, 3.0f, 1.0f);Example
| Example | Example | Example |
|---|---|---|
X | float | X komponent |
Y | float | Y komponent |
Z | float | Z komponent |
W | float | W komponent (homogénna súradnica) |