Quaternion
コンテンツ
[
隠れる
]Quaternion structure
クォータニオンは通常、コンピュータ グラフィックスで回転を実行するために使用されます。
public struct Quaternion
コンストラクター
| 名前 | 説明 |
|---|---|
| Quaternion(double, double, double, double) | の新しいインスタンスを初期化しますQuaternionclass. |
プロパティ
| 名前 | 説明 |
|---|---|
| Length { get; } | クォータニオンの長さを取得します |
メソッド
| 名前 | 説明 |
|---|---|
| static FromAngleAxis(double, Vector3) | 指定された軸を中心にクォータニオンを作成し、時計回りに回転します |
| static FromEulerAngle(Vector3) | 指定されたオイラー角からクォータニオンを作成します |
| static FromEulerAngle(double, double, double) | 指定されたオイラー角からクォータニオンを作成します |
| static FromRotation(Vector3, Vector3) | 元の方向から目的の方向に回転するクォータニオンを作成します |
| static Interpolate(float, Quaternion, Quaternion) | このクォータニオンに、from と to の間の指定されたクォータニオン引数の間で補間された値を入力します。 |
| Concat(Quaternion) | 2 つのクォータニオンを連結します |
| Conjugate() | 現在の四元数の共役四元数を返します |
| Dot(Quaternion) | ドット product |
| override Equals(object) | 2 つのクォータニオンが等しいかどうかを確認します |
| EulerAngles() | クォータニオンをオイラー角で表される回転に変換します すべてのコンポーネントは radian です |
| override GetHashCode() | Quaternion のハッシュ コードを取得します。 |
| Inverse() | 現在の四元数の逆四元数を返します |
| Normalize() | quaternion を正規化します |
| ToAngleAxis(out double, out Vector3) | |
| ToMatrix() | クォータニオンによって提示された回転を変換行列に変換します。 |
| override ToString() | string の四元数の表現を取得します |
| operator + | + の演算子のオーバーロード |
| operator / | / に対する 演算子のオーバーロード |
| operator == | quaternion の等価演算子 |
| operator != | 四元数の不等号演算子 |
| operator * | * の演算子のオーバーロード (5 operators) |
田畑
| 名前 | 説明 |
|---|---|
| static readonly Identity | 恒等四元数. |
| w | w コンポーネント. |
| x | x コンポーネント。 |
| y | y コンポーネント. |
| z | z コンポーネント。 |
関連項目
- 名前空間 Aspose.ThreeD.Utilities
- 組み立て Aspose.3D