Scene3D QML Type

Scene3D type is used to integrate a Qt3D scene into a QtQuick 2 scene. 更多...

导入语句: import Qt3D.Scene3D 2.0
继承:

Item

特性

方法

详细描述

Scene3D type renders a Qt3D scene, provided by an Entity , into a multisampled Framebuffer object. This object is later blitted into a non-multisampled Framebuffer object, which is then rendered with premultiplied alpha.

特性文档编制

aspects : list < string >


cameraAspectRatioMode : enumeration

常量 描述
Scene3D.AutomaticAspectRatio Automatic aspect ratio.
Scene3D.UserAspectRatio User defined aspect ratio.


[default] entity : Entity


hoverEnabled : bool

true if hover events are accepted.


multisample : bool

true if a multi-sample render buffer is in use.


方法文档编制

void setItemAreaAndDevicePixelRatio ( size area , real devicePixelRatio )