LevelOfDetailSwitch QML Type

Provides a way of enabling child entities based on distance or screen size. 更多...

import 語句: import Qt3D.Render 2.10
在 C++: 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.