ClipPlane QML Type
Active un plan d'écrêtage OpenGL supplémentaire qui peut être utilisé dans les shaders à l'aide de gl_ClipDistance. Plus d'informations...
| Import Statement: | import Qt3D.Render 2.10 |
| In C++: | QClipPlane |
| Inherits: | |
| Status: | Deprecated |
Propriétés
- distance : real
- normal : vector3d
- planeIndex : int
Description détaillée
Par défaut, OpenGL supporte jusqu'à 8 plans d'écrêtage supplémentaires. ClipPlane permet d'activer l'un de ces plans supplémentaires. Ces plans peuvent ensuite être manipulés dans les shaders en utilisant gl_ClipDistance[i] où i varie entre 0 et 7. L'implémentation sous-jacente peut prendre en charge plus de 8 plans d'écrêtage, mais cela n'est pas garanti.
Propriété Documentation
distance : real |
Indique la distance du plan par rapport à l'origine du monde.
normal : vector3d |
Détient la normale du plan.
planeIndex : int |
Indique l'indice du plan.
Remarque : généralement compris entre 0 et 7.
© 2025 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.