LevelOfDetailSwitch QML Type
Provides a way of enabling child entities based on distance or screen size. 更多...
Import Statement: | import Qt3D.Render 2.0 |
开始支持版本: | Qt 5.9 |
Instantiates: | QLevelOfDetailSwitch |
基类: |
属性
- currentIndex : int
详细描述
This component is assigned to an entity. When the entity changes distance relative to the camera, the LevelOfDetailSwitch will disable all the child entities except the one matching index currentIndex.
参见 LevelOfDetail.