NoPicking QML Type

NoPickingノードがFrameGraphブランチ内に存在する場合、レンダーアスペクトが指定されたブランチに対してピッキング選択を実行することを防ぎます。詳細...

Import Statement: import Qt3D.Render 2.8
In C++: QNoPicking
Inherits:

FrameGraphNode

Status: Deprecated

詳細説明

無効にすると、NoPickingノードはピッキングの実行を妨げません。そのため、enabledプロパティを切り替えることで、NoPickingをアクティブまたは非アクティブにすることができます。

FrameGraphで複数のサブビューポートを使用している場合、NoPickingは、重なっているビューポートや視覚的でないビューポート間でのピッキングの衝突を防ぐのに便利です。また、非表示のビューポートや、ピッキングを必要としないシーンのセクションに対して、不要な作業を防ぐ最適化としても使用できます。

Viewport {
    CameraSelector {
        NoPicking {
            ClearBuffers {
                buffers: ClearBuffers.ColorDepthBuffer
                NoDraw { } // Prevents from drawing anything
            }
            RenderPassFilter {
                ...
            }
            RenderPassFilter {
                ...
            }
        }
    }
}

ObjectPickerRayCasterScreenRayCasterも参照して ください。

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