LevelOfDetailSwitch QML Type

提供一种根据距离或屏幕尺寸启用子实体的方法。更多

Import Statement: import Qt3D.Render 2.9
In C++: QLevelOfDetailSwitch
Inherits:

Component3D

Status: Deprecated

属性

详细说明

该组件分配给一个实体。当实体相对于摄像机的距离发生变化时,LevelOfDetailSwitch 将禁用所有子实体,但与索引currentIndex 匹配的子实体除外。

另请参阅 LevelOfDetail

属性文档

currentIndex : int

当前选定子实体的索引。


© 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.