结构体 FVector3
FVector3 structure
具有三个分量的 float 向量。
public struct FVector3
构造函数
| 名称 | 描述 |
|---|---|
| FVector3(Vector3) | 初始化 FVector3 的新实例。 |
| FVector3(Vector4) | 初始化 FVector4 的新实例。 |
| FVector3(float, float, float) | 初始化 FVector3 的新实例。 |
属性
| 名称 | 描述 |
|---|---|
| static One { get; } | 单位比例向量,所有分量均为 1 |
| static Zero { get; } | 零向量。 |
方法
| 名称 | 描述 |
|---|---|
| Cross(FVector3) | 两个向量的叉积 |
| Normalize() | 对该实例进行归一化。 |
| override ToString() | 返回表示 FVector3 的字符串 |
| operator + | + 运算符重载 |
| explicit operator | |
| operator * | * 运算符重载 |
| operator - | - 运算符重载(2 个运算符) |
字段
| 名称 | 描述 |
|---|---|
| X | x 分量。 |
| Y | y 分量。 |
| Z | y 分量。 |
另请参见
- namespace Aspose.ThreeD.Utilities
- assembly Aspose.3D