Dynamic Header Scripting Dark Center Band Scripting
Manual

RadialLayout

class in Doozy.Engine.Layouts / Inherits from LayoutGroup

Description

The Radial Layout sets its child elements in a radial arrangement
See Also: LayoutGroup

Properties

  • public bool?AutoRebuild – Automatically rebuild the layout when a parameter has changed and update the layout

  • public float?ChildHeight – Child elements height when control child height is enabled

  • public float?ChildRotation – Child elements custom rotation

  • public float?ChildWidth – Child elements width when control child width is enabled

  • public bool?Clockwise – Order the child elements clockwise and update the layout

  • public bool ControlChildHeight – Override the child elements height and update the layout

  • public bool?ControlChildWidth – Override the child elements width and update the layout

  • public float?MaxAngle – Maximum angle a child element can have inside the layout. Used to make the radial layout look as an arc

  • public float?MinAngle – Minimum angle a child element can have inside the layout. Used to make the radial layout look as an arc

  • public float?Radius – Layout radius that determines the size of the circle

  • public bool?RadiusControlsHeight – Set the child elements height to be influenced by the layout radius and update the layout

  • public bool?RadiusControlsWidth – Set the child elements width to be influenced by the layout radius and update the layout

  • public float?RadiusHeightFactor – Factor by which the radius influences the child elements height, if radius controls height is enabled

  • public float?RadiusWidthFactor – Factor by which the radius influences the child elements width, if the radius controls width is enabled

  • public RectTransform?RectTransform – Reference to the RectTransform component

  • public bool?RotateChildren – Automatically rotate child elements with the layout, when the start angle changes and update the layout

  • public float?Spacing – Extra spacing between child elements

  • public float?StartAngle – Start angle for the first child element of the layout. This places all the child elements around the layout radius

Public Methods

  • public void?CalculateRadial() – Rebuild the layout