All classes with QSG prefix should be used solely on the scene graph’s rendering thread. See Scene Graph and Rendering for more information.
- param type
Creates a new basic geometry node of type
- Return type
Returns this node’s geometry.
The geometry is null by default.
Sets the geometry of this node to
If the node has the flag
OwnsGeometryset, it will also delete the geometry object it is pointing to. This flag is not set by default.
If the geometry is changed without calling again, the user must also mark the geometry as dirty using
© 2020 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.