このページでは

RenderSurfaceSelector QML Type

レンダリング面を指定する方法を提供します。詳細...

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

FrameGraphNode

Status: Deprecated

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

プロパティ

詳細説明

RenderSurfaceSelector を使用すると、Qt3D がコンテンツをレンダリングするサーフェスを選択できます。サーフェスには、ウィンドウサーフェスとオフスクリーンサーフェスの2種類があります。オフスクリーンサーフェスを使用する場合、externalRenderTargetSize を使用してレンダリングターゲットの実際のサイズを指定します。

システムでDPIスケーリングが使用されている場合、マウスイベントで使用される論理的なサーフェスサイズと、サーフェスの実際の「物理的」サイズとは異なる場合があります。surfacePixelRatio は、論理サイズを物理サイズに変換するための倍率です。

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

externalRenderTargetSize : size

外部レンダリングターゲットのサイズを保持します。

surface : QSurface

表面を保持します。

surfacePixelRatio : real

サーフェスの surfacePixelRatio を保持します。

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