Manual     Reference     Scripting  
  
Scripting > Enumerations > AnimationCullingType   
  • Menu
  • Overview
  • Runtime Classes
  • Attributes
  • Enumerations
  • Editor Classes
  • Attributes
  • Enumerations
  • History
  • Index
  • AnimationCullingType
  • All Members
  • Values
  • AlwaysAnimate
  • BasedOnClipBounds
  • BasedOnRenderers
  • BasedOnUserBounds

AnimationCullingType.BasedOnUserBounds  

AnimationCullingType.BasedOnUserBounds

Description

Animation is disabled when Animation.localBounds are not visible.

Animation.localBounds can be set by user, when culling is set to BasedOnUserBounds. This culling method works better than BasedOnRenderers, because animation can push itself into the camera frustum. See Also: BasedOnClipBounds, Animation.localBounds property