Version: 2022.3
Language : English
Performance consideration for runtime UI
Control textures of the dynamic atlas

Use usage hints to reduce draw calls and geometry regeneration

You can use usage hints to set how an element is used at runtime. Usage hints can reduce draw calls and avoid geometry regeneration.

You can set the usage hints in UI(User Interface) Allows a user to interact with your application. Unity currently supports three UI systems. More info
See in Glossary
Builder, UXML, or C#. The following examples set the usage hints to DynamicTransform:

UXML:

<ui:VisualElement usage-hints="DynamicTransform" />

C#:

visualElement.usageHints = UsageHints.DynamicTransform;

The supported usage hints are:

Additional resources

Performance consideration for runtime UI
Control textures of the dynamic atlas
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961