QML 应用程序演示可视化 3D 场景。
![]()
This example demonstrates visualizing a 3D scene from a Qt Quick application. The 3D scene contains a single active camera and a single active light source. Visualized data is assumed to be at a fixed location.
要运行范例从 Qt Creator ,打开 欢迎 模式,然后选择范例从 范例 . For more information, visit Building and Running an Example.
We set up the 3D scene and specify the entity to animate in main.qml :
We specify the active camera in scene3d/AnimatedEntity.qml :