このページでは

GeometryRenderer QML Type

ジオメトリのレンダリングをカプセル化します。詳細...

Import Statement: import Qt3D.Render 2.12
In C++: QGeometryRenderer
Inherits:

BoundingVolume

Status: Deprecated

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

プロパティ

詳細な説明

GeometryRenderer は、Geometry を描画するために必要なすべての情報を保持しています。Geometry はジオメトリデータの座標を保持しており、GeometryRenderer はそのデータの解釈方法を指定します。

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

firstInstance : int

ベースインスタンスを保持します。

firstVertex : int

最初の頂点を保持します。

geometry : Geometry

ジオメトリを保持します。

indexBufferByteOffset : int

インデックスバッファ内のバイトオフセットを保持します。

indexOffset : int

基底頂点を保持します。

instanceCount : int

インスタンス数を保持します。

primitiveRestartEnabled : bool

プリミティブ・リスタート・フラグを保持します。

primitiveType : enumeration

プリミティブ型を保持します。

  • QGeometryRenderer.Points
  • QGeometryRenderer.Lines
  • QGeometryRenderer.LineLoop
  • QGeometryRenderer.LineStrip
  • QGeometryRenderer.Triangles
  • QGeometryRenderer.TriangleStrip
  • QGeometryRenderer.TriangleFan
  • QGeometryRenderer.LinesAdjacency
  • QGeometryRenderer.TrianglesAdjacency
  • QGeometryRenderer.LineStripAdjacency
  • QGeometryRenderer.TriangleStripAdjacency
  • QGeometryRenderer.Patches

Qt3DRender::QGeometryRenderer::PrimitiveTypeも参照してください 。

restartIndexValue : int

再起動インデックスを保持します。

sortIndex : real [since 6.0]

深度ソートが有効になっている場合、ソートインデックスを上書きします。

フレームグラフで深度ソートが有効になっている場合、レンダラーはバウンディングボリュームの中心がカメラからどのくらい離れているかに基づいてオブジェクトをソートし、最も遠いものから近いものへと順にレンダリングします。

このプロパティを使用すると、深度インデックスを上書きし、オブジェクトのレンダリング順序を正確に制御できます。これは、すべてのオブジェクトがカメラから物理的に同じ距離にある場合に役立ちます。

実際の値そのものは重要ではなく、オブジェクトをソートする順序を定義する点のみが重要です。値が最も小さいオブジェクトが最初に描画され、次に2番目に小さいオブジェクトというようにソートされます。

注: この値を -1.f に設定すると 、このエンティティに対する明示的なソートが無効になり、バウンディングボリュームの中心からの距離に基づくソートに戻ります。

このプロパティは Qt 6.0 で導入されました。

SortPolicyも参照してください 。

vertexCount : int

頂点数を保持します。

verticesPerPatch : int

パッチごとの頂点数を保持します。

© 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.