// Copyright (c) Wojciech Figat. All rights reserved. using FlaxEngine; namespace FlaxEditor.Surface { /// /// Set of static properties for the surface. /// [HideInEditor] public static class Constants { /// /// The node close button size. /// public const float NodeCloseButtonSize = 10.0f; /// /// The node close button margin from the edges. /// public const float NodeCloseButtonMargin = 5.0f; /// /// The node header height. /// public const float NodeHeaderHeight = 25.0f; /// /// The scale of the header text. /// public const float NodeHeaderTextScale = 0.8f; /// /// The node footer height. /// public const float NodeFooterSize = 2.0f; /// /// The horizontal node margin. /// public const float NodeMarginX = 6.0f; /// /// The vertical node right margin. /// public const float NodeMarginY = 8.0f; /// /// The size of the row that is started by a box. /// public const float BoxRowHeight = 19.0f; /// /// The box size (with and height). /// public const float BoxSize = 15.0f; /// /// The node layout offset on the y axis (height of the boxes rows, etc.). It's used to make the design more consistent. /// public const float LayoutOffsetY = 24.0f; /// /// The offset between the box text and the box /// public const float BoxTextOffset = 1.65f; /// /// The width of the rectangle used to draw the box text. /// public const float BoxTextRectWidth = 500.0f; } }