AnimationCullingType
This enum controlls culling of Animation component.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Enum
- Namespace: UnityEngine
- Assembly: UnityEngine.AnimationModule
public enum AnimationCullingType
Remarks
When culling is enabled, Unity might stop animating if it thinks that the results of the animation won't be visible to the user. This could save you some performance if you have things animating outside of the viewport, whose animation is only important when the user can actually see the thing that is being animated. When Animation component is culled it won't do anything: it won't update animation states, execute events or sample animations.
Fields
Value | Description |
|---|---|
| AlwaysAnimate | Animation culling is disabled - object is animated even when offscreen. |
| BasedOnRenderers | Animation is disabled when renderers are not visible. |