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.BasedOnClipBounds  

AnimationCullingType.BasedOnClipBounds

Description

Animation is disabled when Animation.localBounds are not visible.

When this type of culling is used Animation.localBounds will be based on bounds of attached clips which are precalculated on import. This culling method works better than BasedOnRenderers, because animation can push itself into the camera frustum. See Also: BasedOnUserBounds, Animation.localBounds property, AnimationClip.localBounds property