AnimationCullingType 动画消隐类型
Enumeration
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.
当消隐启用,如果它认为动画的结果不会对用户可见,Unity可能会停止动画。如果有些东西在视口以为动画,这可以为您节省一些性能,当用户实际看到的东西正在动画,这些动画是最重要的。当动画组件被消隐时,它不会做任何事情:它不会更新动画状态、执行事件或采样动画。
Values值
-
Animation culling is disabled - object is animated even when offscreen.
动画消隐被禁用 - 即使物体在屏幕外也动画。 -
Animation is disabled when renderers are not visible.
当渲染不可见时,动画被禁用。 -
Animation is disabled when Animation.localBounds are not visible.
当Animation.localBounds不可见时,动画被禁用。 -
Animation is disabled when Animation.localBounds are not visible.
当Animation.localBounds不可见时,动画被禁用。
最后修改:2011年9月13日 Tuesday 15:50