Scene3D QML Type
The Scene3D type is used to integrate a Qt3D scene into a QtQuick 2 scene. More...
Import Statement: | import QtQuick.Scene3D 2.0 |
Inherits: |
Properties
- aspects : list<string>
- cameraAspectRatioMode : enumeration
- entity : Entity
- hoverEnabled : bool
- multisample : bool
Methods
- void setItemAreaAndDevicePixelRatio(size area, real devicePixelRatio)
Detailed Description
The 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.
Property Documentation
cameraAspectRatioMode : enumeration |
Constant | Description |
---|---|
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.
Method Documentation
© 2018 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.