Viewport QML Type

Qt3D Scene のビューポート。詳細...

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

FrameGraphNode

Status: Deprecated

プロパティ

詳細説明

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

プロパティの説明

gamma : real

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


normalizedRect : rect

ビューポートの正規化された矩形を指定します。つまり、ビューポートの矩形は、レンダリングサーフェスサイズに対して相対的に指定されます。サーフェス全体のサイズのビューポートは、[0.0, 0.0, 1.0, 1.0]として指定されます。


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