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 ).
采用以下语句导入 QtQuick3D 模块:
import QtQuick3D
Specifies baked lightmap settings for a model | |
Creates or references a color buffer to be used for a pass of an Effect | |
Defines an input buffer to be used as input for a pass of an Effect | |
Defines an abstract base for Cameras | |
Supertype of commands to be performed as part of a pass in an Effect | |
Defines a cube map texture for use in 3D scenes | |
Defines a Camera with a custom projection matrix | |
Base component for creating custom materials used to shade models | |
Used to configure debug settings | |
Defines a directional light in the scene | |
Base component for creating a post-processing effect | |
Allows reading instance tables from file | |
Specifies fog settings for a scene | |
Defines a PerspectiveCamera with a custom frustum | |
Base type for custom geometry | |
Allows manually specifying instancing in QML | |
Specifies an instance in an InstanceList | |
Base type for instance tables | |
Defines a node in a skeletal animation hierarchy | |
An uncreatable abstract base type for all lights | |
Specifies lightmap baking settings for a scene | |
Allows dynamic loading of a 3D subtree from a URL or Component | |
Abstract base type providing functionality common to materials | |
Lets you load a 3D model data | |
Defines the properties of a morph target | |
Base component for an object that exists in a 3D scene | |
Abstract base type of all 3D nodes and resources | |
Defines an Camera with an orthographic projection matrix | |
Defines a render pass in an Effect | |
Defines a Perspective Camera for viewing the content of a 3D scene | |
Contains the results of a pick | |
Defines a point light in the scene | |
Lets you define a material for 3D items using the metal/roughness workflow | |
Provides utility functions for quaternion | |
A PropertyAnimation for quaternions | |
Defines a reflection probe in the scene | |
An uncreatable abstract base type for render extensions | |
Provides information of the scene rendering | |
Instantiates a number of Node-based components using a provided model | |
Allows pre-loading of 3D resources | |
Lets you configure how a scene is rendered | |
Defines a value to be set during a single pass | |
Container component for defining shader code used by post-processing effects | |
Defines a skeletal animation hierarchy | |
Defines a skinning animation | |
Lets you define a material for 3D items using the specular/glossiness workflow | |
Defines a spot light in the scene | |
Defines a texture for use in 3D scenes | |
Base type for custom texture data | |
Specifies a texture exposed to the shaders of a CustomMaterial or Effect | |
Provides a viewport on which to render a 3D scene | |
Specifies the bounds of a model |
采用以下语句导入 QtQuick3D.Helpers 模块:
import QtQuick3D.Helpers
Visual helper for showing the 3 axes and a grid in a 3D scene | |
View to show rendering statistics and perform debug and developer actions | |
A SceneEnvironment providing commonly used rendering effects | |
A custom geometry provider for rendering grids | |
A height field geometry | |
Shows an infinite grid | |
Defines a data model based on an instance table | |
Specifies a range for RandomInstancing | |
Instantiates components based on an instance table | |
Manager that handles level of detail visibility changes | |
A helper node that is automatically kept pointing at another node | |
Camera Controller which rotates around an origin | |
Allows creation of Geometry from QML | |
Defines a subset of a ProceduralMesh | |
Generates an HDR skybox cubemap | |
Allows creation and population of TextureData from QML | |
Generates a random instancing table | |
Control node position and orientation with keys and mouse |
Import the QtQuick3D.AssetUtils module with the following statement:
import QtQuick3D.AssetUtils
Imports a 3D asset at runtime |
Import the QtQuick3D.Particles3D module with the following statement:
import QtQuick3D.Particles3D
Affectors modify the attributes of particles during their lifetime | |
Attracts particles towards a position or a shape | |
Directions assign velocity for the emitted particles | |
Dynamic emitter bursts | |
Declarative emitter bursts | |
Accelerates particles to a vector of the specified magnitude in the specified direction | |
Line particle | |
Blends particle effect with a 3D model | |
Particle using a Qt Quick 3D Model | |
Abstract logical particle | |
Abstract base type of particle shapes | |
Loads custom particle shapes for emitters and affectors | |
Emitter for logical particles | |
Offers particle shape from model for emitters and affectors | |
Offers 3D shapes for emitters and affectors | |
A system which includes particle, emitter, and affector types | |
Provides information of the particle system | |
Rotates particles around a pivot point | |
Particle repeller | |
Particle scale affector | |
Particle using a 2D sprite texture | |
Provides image sequence features for the Sprite particles | |
For specifying a direction towards the target position | |
Emitter for logical particles from other particles | |
For specifying a direction towards the target direction | |
Applies random wave curves to particles |
以下 QML 类型现已过时。过时类型不再维护。提供它们是为使旧源代码能继续工作,但在未来发行中会移除它们。强烈建议不要在新代码中使用这些类。
以下 QML 类型包含一个或多个现已过时的特性或方法。过时成员不再维护。提供它们是为使旧源代码能继续工作,但在未来发行中会移除它们。强烈建议不要在新代码中使用这些过时成员。点击类型查看其弃用成员。