このページでは

TorusGeometry QML Type

TorusGeometry を使用すると、3D 空間にトーラスを作成できます。詳細...

Import Statement: import Qt3D.Extras 2.12
In C++: QTorusGeometry
Status: Deprecated

この型は非推奨です。新しいコードでの使用は強くお勧めしません。

プロパティ

詳細説明

TorusGeometry型は、主にTorusMesh 型によって内部で使用されますが、カスタムGeometryRenderer 型でも使用可能です。

プロパティのドキュメント

indexAttribute : Attribute [read-only]

ジオメトリ・インデックス属性を保持します。

minorRadius : real

トーラスの内半径を保持します。

normalAttribute : Attribute [read-only]

ジオメトリの法線属性を保持します。

positionAttribute : Attribute [read-only]

ジオメトリの位置属性を保持します。

radius : real

トーラスの外半径を保持します。

rings : int

トーラスに含まれるリングの数を保持します。

slices : int

トーラスに含まれるスライスの数を保持します。

texCoordAttribute : Attribute [read-only]

ジオメトリのテクスチャ座標属性を保持します。

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.