Qt 5.9 | Qt 3D | Qt 3D: Materials C++ Example

Qt 5.9.3 Reference Documentation

# Qt 3D: Materials C++ Example

Materials demonstrates using the Qt 3D material system.

## Running the Example

To run the example from Qt Creator, open the Welcome mode and select the example from Examples. For more information, visit Building and Running an Example.

Files:

- materials-cpp/barrel.cpp
- materials-cpp/barrel.h
- materials-cpp/houseplant.cpp
- materials-cpp/houseplant.h
- materials-cpp/planeentity.cpp
- materials-cpp/planeentity.h
- materials-cpp/renderableentity.cpp
- materials-cpp/renderableentity.h
- materials-cpp/rotatingtrefoilknot.cpp
- materials-cpp/rotatingtrefoilknot.h
- materials-cpp/trefoilknot.cpp
- materials-cpp/trefoilknot.h
- materials-cpp/main.cpp
- materials-cpp/materials-cpp.pro