RenderablesFilter QML Type
pass で影響を与えるレンダラブルを選択するためのフィルタを定義します。
| Import Statement: | import QtQuick3D |
| Since: | Qt 6.11 |
| Inherits: |
プロパティ
- layerMask : int
- renderableTypes : enumeration
詳細説明
RenderablesFilter タイプは、シーン内のどのレンダラブルがRenderPass の影響を受けるかを指定するために使用されます。renderableTypes プロパティを設定することで、パスが Opaque(不透明)、Transparent(透明)、またはまったくオブジェクトに影響しないかを制御できます。
renderableTypes をNone に設定すると、RenderPass が SubRenderPasses のコンテナとして機能し、それ自身はオブジェクトをレンダリングしない場合に便利です。
レンダラブルタイプによるフィルタリングに加えて、layerMask を使用して、割り当てられたlayers に基づいて、どのレンダラブルが影響を受けるかをさらに絞り込むこともできます。
プロパティ ドキュメント
layerMask : int
フィルタのレイヤーマスクを設定します。指定されたレイヤー上のレンダラブルのみがフィルタの影響を受けます。
l{QtQuick3D::Node::layers}も参照してください 。
renderableTypes : enumeration [default: RenderablesFilter.Opaque | RenderablesFilter.Transparent]
フィルタが影響するレンダラブルのタイプを設定します。
| 定数 | 説明 |
|---|---|
RenderablesFilter.None | レンダラブルはレンダリングされません。SubRenderPassesのみを持つコンテナパスに便利です。 |
RenderablesFilter.Opaque | 不透明なレンダラブルのみがレンダリングされます。 |
RenderablesFilter.Transparent | 透明なレンダラブルのみがレンダリングされます。 |
注: | 演算子を使用して、複数の値を組み合わせることができます。
© 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.