Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


CullingGroupEvent

Provides information about the current and previous states of one sphere in a CullingGroup.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Struct
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public struct CullingGroupEvent

Remarks

Additional Resources: CullingGroup.onStateChanged.

Properties

Property

Description

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?