ZMWSLI0-SL2021-GR11/cw1/clock/Library/PackageCache/com.unity.timeline@1.2.18/Editor/Window/WindowConstants.cs

46 lines
1.8 KiB
C#
Raw Permalink Normal View History

2021-04-10 17:27:42 +02:00
namespace UnityEditor.Timeline
{
static class WindowConstants
{
public const float timeAreaYPosition = 19.0f;
public const float timeAreaHeight = 22.0f;
public const float timeAreaMinWidth = 50.0f;
public const float timeAreaShownRangePadding = 5.0f;
public const float markerRowHeight = 18.0f;
public const float markerRowYPosition = timeAreaYPosition + timeAreaHeight;
public const float defaultHeaderWidth = 315.0f;
public const float defaultBindingAreaWidth = 40.0f;
public const float minHierarchySplitter = 0.15f;
public const float maxHierarchySplitter = 10.50f;
public const float hierarchySplitterDefaultPercentage = 0.2f;
public const float minHeaderWidth = 315.0f;
public const float maxHeaderWidth = 650.0f;
public const float maxTimeAreaScaling = 90000.0f;
public const float minTimeCodeWidth = 28.0f; // Enough space to display up to 9999 without clipping
public const float sliderWidth = 15;
public const float shadowUnderTimelineHeight = 15.0f;
public const float createButtonWidth = 70.0f;
public const float refTimeWidth = 50.0f;
public const float selectorWidth = 23.0f;
public const float cogButtonWidth = 32.0f;
public const float cogButtonPadding = 16.0f;
public const float trackHeaderButtonSize = 16.0f;
public const float trackHeaderButtonPadding = 6f;
public const float trackHeaderButtonSpacing = 3.0f;
public const float trackOptionButtonVerticalPadding = 0f;
public const float trackHeaderMaxButtonsWidth = 5 * (trackHeaderButtonSize + trackHeaderButtonPadding);
public const float trackInsertionMarkerHeight = 1f;
public const int autoPanPaddingInPixels = 50;
}
}