本页内容

Qt 3D QML 类型

Qt 3D 的核心 QML 类型通过

import Qt3D.Core 2.12

其他模块导入了碰撞检测、渲染、输入和动画的相关功能。Qt 3D 的完整导入语句列表如下:

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

QML 类型

Qt 3D 核心模块

Qt 3D 输入模块

Qt 3D 逻辑模块

Qt 3D 渲染模块

Qt 3D 扩展模块

FirstPersonCameraController

允许从第一人称视角控制场景摄像机

GoochMaterial

实现 Gooch 着色模型的材质,该模型在 CAD 和 CAM 应用中广受欢迎

OrbitCameraController

允许沿轨道路径控制场景摄像机

PerVertexColorMaterial

用于渲染每个顶点所设颜色属性的默认实现

Qt 3D 动画模块

AbstractAnimation

Qt3D 动画的抽象基类

AbstractClipAnimator

为提供动画播放功能的类型提供的基类

AbstractClipBlendNode

用于构建动画混合树的类型的基类

AdditiveClipBlend

根据加法因子对两个动画片段执行加法混合

AnimationController

动画的控制器类型

AnimationGroup

将动画分组在一起的类型

BlendedClipAnimator

提供混合节点树动画播放功能的组件

ClipAnimator

提供简单动画播放功能的组件

ClipBlendValue

用于将片段包含在混合树中的类型

KeyframeAnimation

一种为 Transform 实现简单关键帧动画的类型

LerpClipBlend

根据归一化因子对两个动画片段执行线性插值

MorphTarget

为混合形状动画提供形态目标的类型

MorphingAnimation

实现混合形状变形动画的类型

VertexBlendAnimation

实现顶点混合变形动画的类型

Qt 3D Scene2D 模块

Qt 3D Scene3D 模块

Scene3D

该类型用于将 Qt3D 场景集成到 QtQuick 2 场景中

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