Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

CullingGroup.StateChanged

public delegate void StateChanged(CullingGroupEvent sphere);

Parameters

sphere A CullingGroupEvent that provides information about the sphere that has changed.

Description

This delegate is used for recieving a callback when a sphere's distance or visibility state has changed.

SA: CullingGroup.onStateChanged.