このページでは

Viewport QML Type

Qt3D シーン上のビューポート。詳細...

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

FrameGraphNode

Status: Deprecated

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

プロパティ

詳細な説明

シーンのビューポートは、Qt3Dがレンダリングを行うレンダリング面のどの部分を指定するかを決定します。ビューポートの外側の領域は変更されません。また、ビューポート内のレンダリングに関するガンマなどのグローバルパラメータも制御します。

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

gamma : real

ビューポートのガンマ係数を指定します。デフォルトは 2.2 で、ほとんどの画面で適切な結果が得られます。

normalizedRect : rect

ビューポートの正規化された矩形を指定します。つまり、ビューポートの矩形は、レンダリング面のサイズを基準として指定されます。面全体のサイズに相当するビューポートは [0.0, 0.0, 1.0, 1.0] として指定され、これがデフォルトの設定です。

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