Version: 2020.2
LanguageEnglish
  • C#

CullingGroupEvent

struct in UnityEngine

/

Implemented in:UnityEngine.CoreModule

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Provides information about the current and previous states of one sphere in a CullingGroup.

Properties

currentDistanceThe current distance band index of the sphere, after the most recent culling pass.
hasBecomeInvisibleDid this sphere change from being visible to being invisible in the most recent culling pass?
hasBecomeVisibleDid this sphere change from being invisible to being visible in the most recent culling pass?
indexThe index of the sphere that has changed.
isVisibleWas the sphere considered visible by the most recent culling pass?
previousDistanceThe distance band index of the sphere before the most recent culling pass.
wasVisibleWas the sphere visible before the most recent culling pass?