内容表

上一话题

Qt3DRender.QLevelOfDetailBoundingSphere

下一话题

Qt3DRender.QLineWidth

Qt3DRender.QLevelOfDetailSwitch

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

Inheritance diagram of PySide2.Qt3DRender.Qt3DRender.QLevelOfDetailSwitch

详细描述

This component is assigned to an entity. When the entity changes distance relative to the camera, the QLevelOfDetailSwitch will disable all the child entities except the one matching index currentIndex .

class PySide2.Qt3DRender.Qt3DRender. QLevelOfDetailSwitch ( [ parent=None ] )
param parent

QNode

构造新 QLevelOfDetailSwitch with the specified parent .