OcclusionData

OcclusionData

Holds information needed when performing occlusion queries.

Constructor

new OcclusionData(bounds)

Parameters:
Name Type Description
bounds BoundingBox

Members

isOccluded :boolean

isOccQueryRunning :boolean

Flag used to check if an occlusion test is being performed on this mesh.

occlusionQuery :WebGLQuery

WebGL query object used for occlusion testing.

transform :Transform

Transform needed for rendering.

wasOccluded :boolean