Vector4 — Aspose.3D FOSS for .NET

Example

Vector4 是一个单精度的四分量向量,用于控制点(齐次顶点位置)、法线数据和颜色值。该 W 分量通常 1.0f 用于标准笛卡尔坐标位置。.

var point = new Vector4(1.0f, 2.0f, 3.0f, 1.0f);

Example

ExampleExampleExample
XfloatX 分量
YfloatY 分量
ZfloatZ 分量
WfloatW 分量(齐次坐标)

另见

 中文