Qt 3D QML Types

The Qt 3D core QML types are imported with

 import Qt3D.Core 2.4

Other modules import functionality for collision detection, rendering, input, and animation. The complete list of Qt 3D import statements:

 import Qt3D.Core 2.4
 import Qt3D.Render 2.4
 import Qt3D.Input 2.4
 import Qt3D.Logic 2.4
 import Qt3D.Extras 2.4
 import Qt3D.Animation 2.4
 import QtQuick.Scene2D 2.4
 import QtQuick.Scene3D 2.4

QML Types

Qt 3D Core Module

Entity

Node subclass that can aggregate several Component3D instances that will specify its behavior

Node

A base QML type that other types inherit. It cannot be directly created

QuaternionAnimation

A PropertyAnimation for quaternions

Qt 3D Input Module

ActionInput

QML frontend for the Qt3DInput::QActionInput C++ class

AnalogAxisInput

QML frontend for QAnalogAxisInput C++ class

ButtonAxisInput

QML frontend for QButtonAxisInput C++ class. The axis value is controlled by buttons rather than a traditional analog input such as a joystick

InputChord

QML frontend for the Qt3DInput::QInputChord C++ class

KeyEvent

QML frontend for QKeyEvent C++ class

KeyboardDevice

QML frontend for QKeyboardDevice C++ class

MouseDevice

Delegates mouse events to the attached MouseHandler objects

MouseEvent

Provides parameters that describe a mouse event

WheelEvent

Contains parameters that describe a mouse wheel event

Qt 3D Logic Module

Qt 3D Render Module

AlphaTest

Specify alpha reference test

BlendEquation

Specifies the equation used for both the RGB blend equation and the Alpha blend equation

BlendEquationArguments

Encapsulates blending information: specifies how the incoming values (what's going to be drawn) are going to affect the existing values (what is already drawn)

BlitFramebuffer

FrameGraph node to transfer a rectangle of pixel values from one region of a render target to another

BufferCapture

Exchanges buffer data between GPU and CPU

ClearBuffers

Class to clear buffers

ClipPlane

Enables an additional OpenGL clipping plane that can be in shaders using gl_ClipDistance

ColorMask

Allows specifying which color components should be written to the currently bound frame buffer

CullFace

Type specifies whether front or back face culling is enabled

DebugOverlay

Enables a visual overlay with scene details

DepthRange

Enables remapping depth values written into the depth buffer

DepthTest

Type tests the fragment shader's depth value against the depth of a sample being written to

DirectionalLight

Encapsulate a Directional Light object in a Qt 3D scene

DispatchCompute

FrameGraph node to issue work for the compute shader on GPU

FrontFace

Type defines front and back facing polygons

FrustumCulling

Enable frustum culling for the FrameGraph

LayerFilter

Controls layers drawn in a frame graph branch

LevelOfDetailBoundingSphere

QML type provides a simple spherical volume, defined by its center and radius

LevelOfDetailLoader

An entity loader that changes depending on distance to camera or screen size

LineWidth

Specifies the width of rasterized lines

MemoryBarrier

Class to place a memory barrier

Mesh

A custom mesh loader

NoDraw

When a NoDraw node is present in a FrameGraph branch, this prevents the renderer from rendering any primitive

NoPicking

When a NoPicking node is present in a FrameGraph branch, this prevents the render aspect from performing picking selection for the given branch

PointLight

Encapsulate a Point Light object in a Qt 3D scene

PointSize

Specifies the size of rasterized points. May either be set statically or by shader programs

PolygonOffset

Type sets the scale and steps to calculate depth values for polygon offsets

ProximityFilter

Select entities which are within a distance threshold of a target entity

RasterMode

Render state allows to control the type of rasterization to be performed

RenderCapture

Capture rendering

RenderCaptureReply

Receives render capture result

RenderPassFilter

Provides storage for vectors of Filter Keys and Parameters

RenderStateSet

FrameGraph node offers a way of specifying a set of RenderState objects to be applied during the execution of a framegraph branch

RenderSurfaceSelector

Provides a way of specifying the render surface

RenderTargetSelector

Provides a way of specifying a render target

ScissorTest

Type discards fragments that fall outside of a certain rectangular portion of the screen

SharedGLTexture

Allows to use a textureId from a separate OpenGL context in a Qt 3D scene

SortPolicy

Provides storage for the sort types to be used

SpotLight

Encapsulate a Spot Light object in a Qt 3D scene

StencilMask

Type controls the front and back writing of individual bits in the stencil planes

StencilOperation

Type specifies stencil operation

StencilTest

Type specifies arguments for the stecil test

SubtreeEnabler

Enables or disables entire subtrees of frame graph nodes

TechniqueFilter

A FrameGraphNode used to select used Techniques

Texture1D

An AbstractTexture with a Target1D target format

Texture1DArray

An AbstractTexture with a Target1DArray target format

Texture2D

An AbstractTexture with a Target2D target format

Texture2DArray

An AbstractTexture with a Target2DArray target format

Texture2DMultisample

An AbstractTexture with a Target2DMultisample target format

Texture2DMultisampleArray

An AbstractTexture with a Target2DMultisampleArray target format

Texture3D

An AbstractTexture with a Target3D target format

TextureBuffer

An AbstractTexture with a TargetBuffer target format

TextureCubeMap

An AbstractTexture with a TargetCubeMap target format

TextureCubeMapArray

An AbstractTexture with a TargetCubeMapArray target format

TextureLoader

Handles the texture loading and setting the texture's properties

TextureRectangle

An AbstractTexture with a TargetRectangle target format

Viewport

A viewport on the Qt3D Scene

Qt 3D Extras Module

ConeGeometryView

A conical mesh

ConeMesh

A conical mesh

CuboidGeometryView

A cuboid mesh

CuboidMesh

A cuboid mesh

CylinderGeometryView

A cylindrical mesh

CylinderMesh

A cylindrical mesh

DiffuseSpecularMaterial

Default implementation of the phong lighting effect

ExtrudedTextMesh

A 3D extruded Text mesh

FirstPersonCameraController

Allows controlling the scene camera from the first person perspective

ForwardRenderer

Default FrameGraph implementation of a forward renderer

GoochMaterial

Material that implements the Gooch shading model, popular in CAD and CAM applications

MetalRoughMaterial

This material uses an effect with a single render pass approach and performs per fragment lighting. Techniques are provided for OpenGL 3 and OpenGL ES 3

OrbitCameraController

Allows controlling the scene camera along orbital path

PerVertexColorMaterial

Default implementation for rendering the color properties set for each vertex

PlaneGeometryView

A square planar mesh

PlaneMesh

A square planar mesh

SphereGeometryView

A spherical mesh

SphereMesh

A spherical mesh

TorusGeometryView

A toroidal mesh

TorusMesh

A toroidal mesh

Qt 3D Animation Module

AbstractAnimation

An abstract base type for Qt3D animations

AdditiveClipBlend

Performs an additive blend of two animation clips based on an additive factor

AnimationController

A controller type for animations

AnimationGroup

A type grouping animations together

BlendedClipAnimator

Component providing animation playback capabilities of a tree of blend nodes

ClipAnimator

Component providing simple animation playback capabilities

ClipBlendValue

Type used for including a clip in a blend tree

KeyframeAnimation

A type implementing simple keyframe animation to a Transform

LerpClipBlend

Performs a linear interpolation of two animation clips based on a normalized factor

MorphTarget

A type providing morph targets to blend-shape animation

MorphingAnimation

A type implementing blend-shape morphing animation

VertexBlendAnimation

A type implementing vertex-blend morphing animation

Qt 3D Scene2D Module

Qt 3D Scene3D Module