用户工具

站点工具


侧边栏



Unity3D中文文档

script:unityengine:enumerations:animationcullingtype:animationcullingtype

AnimationCullingType 动画剔除类型

enumeration

Description 描述

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可能停止动画。如果你有事物的动画在视窗之外,这可能保存你一些参数,仅对于重要的动画当用户可以实际看到事物时被混合动画。当动画组件被剔除,它将不会做任何事:它将不更新动画状态,执行事件或者采样动画。

Variables 变量

AlwaysAnimateAnimation culling is disabled - object is animated even when offscreen.
动画剔除被禁用—对象为动画直至关闭屏幕。
BasedOnRenderersAnimation is disabled when renderers are not visible.
渲染器不可见时禁用动画。
script/unityengine/enumerations/animationcullingtype/animationcullingtype.txt · 最后更改: 2016/08/04 03:36 由 hulang