FX & 材质展厅

Demonstrates material and effects capabilities of Qt Quick 3D. This example demonstrates how you can use particle effects and materials in Qt Quick 3D .

The example consists of an interactive 3D scene with a 3D model. You can change the model's material and toggle between a couple of different environments for the scene.

In addition to the material functionality, you can also add particle-based effects such as snow, smoke, and fire to the scene.

运行范例

要运行范例从 Qt Creator ,打开 欢迎 模式,然后选择范例从 范例 。更多信息,见 Qt Creator: Tutorial: Build and run .

平台注意事项

For this example, you can create target executables for the major platforms, including iOS, macOS, Windows, and Linux. On Android, the example creates a Module 库。

更多信息,见 qt_add_executable .

Relevant classes

范例使用 Qt Quick 3D module, which is a separate item in the Qt Online Installer. If the example fails to configure, please make sure that you have Qt Quick 3D installed.

Source files

范例工程 @ code.qt.io

另请参阅 Qt Quick 3D 范例和教程 .