Select your preferred scripting language. All code snippets will be displayed in this language.
struct in UnityEngine
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.
CloseProvides information about the current and previous states of one sphere in a CullingGroup.
See Also: CullingGroup.onStateChanged.
currentDistance | The current distance band index of the sphere, after the most recent culling pass. |
hasBecomeInvisible | Did this sphere change from being visible to being invisible in the most recent culling pass? |
hasBecomeVisible | Did this sphere change from being invisible to being visible in the most recent culling pass? |
index | The index of the sphere that has changed. |
isVisible | Was the sphere considered visible by the most recent culling pass? |
previousDistance | The distance band index of the sphere before the most recent culling pass. |
wasVisible | Was the sphere visible before the most recent culling pass? |