Provides a way of enabling child entities based on distance or screen size. 更多...
| import 语句: | import Qt3D.Render 2.5 |
| 实例化: | QLevelOfDetailSwitch |
| 继承: | Component3D |
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 .
|
currentIndex : int |
The index of the presently selected child entity.