Files
BABA_YAGA/Packages/app.rive.rive-unity/Runtime/Components/Public/Widgets/DrawOptimizationOptions.cs
2026-05-19 17:39:03 +07:00

21 lines
478 B
C#

namespace Rive.Components
{
/// <summary>
/// Controls how often a widget requests a redraw from its panel.
/// </summary>
public enum DrawOptimizationOptions
{
/// <summary>
/// The widget will request a redraw every frame.
/// </summary>
AlwaysDraw = 0,
/// <summary>
/// The widget will only request redraws when its underlying content changes.
/// </summary>
DrawWhenChanged = 1
}
}