Qt Quick 3D QML Types

This is the QML frontend for using the spatial renderer and scenegraph. For the time being, all 3D content goes through offscreen textures (FBO)s so that they can be composed into Qt Quick scenes (as a QQuickItem).

Qt Quick 3D provides the following QML types:

QtQuick3D QML Types

Import the QtQuick3D module with the following statement:

import QtQuick3D 1.14

AreaLight

Defines an area light in the scene

Camera

Defines an abstract base for Cameras

CustomCamera

Defines a Custom Camera for viewing the content of a 3D scene

DefaultMaterial

Defines a Material generated depending on which properties are set

DirectionalLight

Defines a directional light in the scene

FrustumCamera

Defines a Perspective Frustum Camera for viewing the content of a 3D scene

Geometry

An Abstract base type for custom geometry

Light

An uncreatable abstract base type for all lights

Loader3D

Allows dynamic loading of a 3D subtree from a URL or Component

Material

Lets you define material for the 3D item

Model

Lets you load a 3D model data

Node

Base component for an object that exists in a 3D Scene

Object3D

Abstact Subclass of all 3D nodes and resources

OrthographicCamera

Defines a Orthographic Camera for viewing the content of a 3D scene

PerspectiveCamera

Defines a Perspective Camera for viewing the content of a 3D scene

PickResult

Contains the results of a pick

PointLight

Defines a point light in the scene

PrincipledMaterial

Lets you define a material for 3D items

RenderStats

Provides information of the scene rendering

Repeater3D

Instantiates a number of Node-based components using a provided model

SceneEnvironment

Lets you configure how a scene is rendered

Texture

Defines a texture for use in 3D scenes

View3D

Provides a viewport on which to render a 3D scene

QtQuick3D.Materials QML Types

Import the QtQuick3D.Materials module with the following statement:

import QtQuick3D.Materials 1.14

AluminumAnodizedEmissiveMaterial

Anodized aluminum material with emissive properties

AluminumAnodizedMaterial

Anodized aluminum material

AluminumBrushedMaterial

Brushed aluminum material

AluminumEmissiveMaterial

Aluminum with emissive properties

AluminumMaterial

Aluminum material

Blending

Defines the blending state in a pass of a CustomMaterial

Buffer

Defines a buffer to be used for a pass of a CustomMaterial

BufferBlit

Defines a copy operation between two buffers in a pass of a CustomMaterial

BufferInput

Defines an input buffer to be used for a pass of a CustomMaterial

Command

Defines a command to be performed in a pass of a CustomMaterial

CopperMaterial

Copper material

CustomMaterial

Base component for creating custom materials used to shade models

FrostedGlassMaterial

Frosted Glass material

FrostedGlassSinglePassMaterial

Frosted Glass single-pass material

GlassMaterial

Glass material

GlassRefractiveMaterial

Refractive glass material

PaperArtisticMaterial

Artistic paper material

PaperOfficeMaterial

Office paper material

Pass

Defines a render pass in the CustomMaterial

PlasticStructuredRedEmissiveMaterial

Structured red plastic material with emissive properties

PlasticStructuredRedMaterial

Structured red plastic material

RenderState

Defines the render state to be disabled in a pass of a CustomMaterial

Shader

Container component for defining shader code used by CustomMaterials

ShaderInfo

Defines basic information about custom shader code for CustomMaterials

SteelMilledConcentricMaterial

Milled concentric steel material

TextureInput

Defines a texture channel for a Custom Material

QtQuick3D.Helpers QML Types

Import the QtQuick3D.Helpers module with the following statement:

import QtQuick3D.Helpers 1.14

AxisHelper

Visual helper for showing axis in 3D scene

DebugView

View to show render statistics

GridGeometry

Visual helper for showing grid in a scene

WasdController

Control node position and orientation with keys and mouse

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