LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

CullingGroupEvent

struct in UnityEngine

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

Sumbission failed

For some reason your suggested change could not be submitted. Please try again 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.

Variables

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?