Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

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

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.