AnimationCullingType

enumeration

Cambiar al Manual

Descripción

This enum controlls culling of Animation component.

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.

Variables

AlwaysAnimateAnimation culling is disabled - object is animated even when offscreen.
BasedOnRenderersAnimation is disabled when renderers are not visible.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961