Enable frustum culling for the FrameGraph. 更多 …
A
QFrustumCullingclass enables frustum culling of the drawable entities based on the camera view andQGeometrybounds of the entities. IfQFrustumCullingis present in the FrameGraph, only the entities whoseQGeometrybounds intersect with the camera frustum, i.e. the view of the camera, are drawn. IfQFrustumCullingis not present, all drawable entities will be drawn. The camera is selected by aQCameraSelectorframe graph node in the current hierarchy. Frustum culling can save a lot of GPU processing time when the rendered scene is complex.另请参阅
QCameraSelector
PySide2.Qt3DRender.Qt3DRender.
QFrustumCulling
(
[
parent=None
]
)
¶
- param parent
QNode
The constructor creates an instance with the specified
parent
.