Qt 3D QML Types

To import and use the module's QML types, use the following statement:


  import Qt3D.Core 2.0

For collision detection, renderer, and input-related QML types, use the following import statements:


  import Qt3D.Render 2.0
  import Qt3D.Input 2.0
  import Qt3D.Logic 2.0

QML Types

Qt 3D Core Module

CameraLens

Provides the projection matrix that is used to define a Camera for 3D scene

Component3D

Provides the base type for creating Qt 3D components

Entity

EntityLoader

Node

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

NodeInstantiator

Dynamically creates nodes

QuaternionAnimation

A PropertyAnimation for quaternions

Transform

Used to perform transforms on meshes

Qt 3D Input Module

AbstractActionInput

QML frontend for the abstract Qt3DInput::QAbstractActionInput C++ class

AbstractAxisInput

QML frontend for abstract QAbstractAxisInput C++ class

AbstractPhysicalDevice

QML frontend for the abstract Qt3DInput::QAbstractPhysicalDevice C++ class

Action

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

ActionInput

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

AnalogAxisInput

QML frontend for QAnalogAxisInput C++ class

Axis

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

AxisSetting

QML frontend for the Qt3DInput::QAxisSetting 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

InputSequence

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

InputSettings

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

KeyEvent

QML frontend for QKeyEvent C++ class

KeyboardDevice

QML frontend for QKeyboardDevice C++ class

KeyboardHandler

QML frontend for QKeyboardHandler C++ class

LogicalDevice

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

MouseDevice

Delegates mouse events to the attached MouseHandler objects

MouseEvent

Provides parameters that describe a mouse event

MouseHandler

Provides mouse event notification

WheelEvent

Contains parameters that describe a mouse wheel event

Qt 3D Logic Module

Qt 3D Render Module

AbstractTextureImage

Encapsulates the necessary information to create an OpenGL texture image

Attribute

Uncreatable

BlendEquationArguments

Encapsulates blending information

Buffer

Camera

Defines a view point through which the scene will be rendered

CameraSelector

ClearBuffers

ClipPlane

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

DirectionalLight

Encapsulate a Directional Light object in a Qt 3D scene

DispatchCompute

Effect

Base class for effects in a Qt 3D scene

FilterKey

For storing filter keys and their value

FrameGraphNode

FrustumCulling

Geometry

GeometryRenderer

GraphicsApiFilter

For OpenGL identifies the API required for the attached technique

Layer

For ..

LayerFilter

Controls layers Drawn in a frame graph branch

Light

Encapsulate a QAbstractLight object in a Qt 3D scene

Material

Non-creatable abstract base for materials

Mesh

A custom mesh

NoDraw

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

ObjectPicker

Instantiates a component that can be used to interact with an Entity by a process known as picking

Parameter

Provides storage for a name and value pair

PickEvent

Holds information when an object is picked

PickTriangleEvent

Holds information when a triangle is picked

PointLight

Encapsulate a Point Light object in a Qt 3D scene

RenderPass

Encapsulates a Render Pass

RenderSurfaceSelector

Provides a way of specifying the render surface

RenderTargetSelector

SceneLoader

ShaderProgram

Encapsulates a Shader Program

SortPolicy

Provides storage for the sort types to be used

SpotLight

Encapsulate a Spot Light object in a Qt 3D scene

Technique

Encapsulates a Technique

TextureImage

Encapsulates the necessary information to create an OpenGL texture image from an image source

Viewport

A viewport on the Qt3D Scene