Layout Group controller that arranges children in bars, fitting as many on a line until total size exceeds parent bounds
More...
|
void | LayoutRow (IList< RectTransform > contents, float rowWidth, float rowHeight, float maxWidth, float xOffset, float yOffset, int axis) |
|
void | LayoutCol (IList< RectTransform > contents, float colWidth, float colHeight, float maxHeight, float xOffset, float yOffset, int axis) |
|
Layout Group controller that arranges children in bars, fitting as many on a line until total size exceeds parent bounds
Definition at line 16 of file FlowLayoutGroup.cs.
◆ Axis
◆ CalculateLayoutInputHorizontal()
override void UnityEngine.UI.Extensions.FlowLayoutGroup.CalculateLayoutInputHorizontal |
( |
| ) |
|
◆ CalculateLayoutInputVertical()
override void UnityEngine.UI.Extensions.FlowLayoutGroup.CalculateLayoutInputVertical |
( |
| ) |
|
◆ GetGreatestMinimumChildHeigth()
float UnityEngine.UI.Extensions.FlowLayoutGroup.GetGreatestMinimumChildHeigth |
( |
| ) |
|
◆ GetGreatestMinimumChildWidth()
float UnityEngine.UI.Extensions.FlowLayoutGroup.GetGreatestMinimumChildWidth |
( |
| ) |
|
◆ LayoutCol()
void UnityEngine.UI.Extensions.FlowLayoutGroup.LayoutCol |
( |
IList< RectTransform > |
contents, |
|
|
float |
colWidth, |
|
|
float |
colHeight, |
|
|
float |
maxHeight, |
|
|
float |
xOffset, |
|
|
float |
yOffset, |
|
|
int |
axis |
|
) |
| |
|
protected |
◆ LayoutRow()
void UnityEngine.UI.Extensions.FlowLayoutGroup.LayoutRow |
( |
IList< RectTransform > |
contents, |
|
|
float |
rowWidth, |
|
|
float |
rowHeight, |
|
|
float |
maxWidth, |
|
|
float |
xOffset, |
|
|
float |
yOffset, |
|
|
int |
axis |
|
) |
| |
|
protected |
◆ SetLayout()
float UnityEngine.UI.Extensions.FlowLayoutGroup.SetLayout |
( |
int |
axis, |
|
|
bool |
layoutInput |
|
) |
| |
Main layout method
- Parameters
-
width | Width to calculate the layout with |
axis | 0 for horizontal axis, 1 for vertical |
layoutInput | If true, sets the layout input for the axis. If false, sets child position for axis |
Definition at line 113 of file FlowLayoutGroup.cs.
◆ SetLayoutHorizontal()
override void UnityEngine.UI.Extensions.FlowLayoutGroup.SetLayoutHorizontal |
( |
| ) |
|
◆ SetLayoutVertical()
override void UnityEngine.UI.Extensions.FlowLayoutGroup.SetLayoutVertical |
( |
| ) |
|
◆ ChildForceExpandHeight
bool UnityEngine.UI.Extensions.FlowLayoutGroup.ChildForceExpandHeight = false |
◆ ChildForceExpandWidth
bool UnityEngine.UI.Extensions.FlowLayoutGroup.ChildForceExpandWidth = false |
◆ ExpandHorizontalSpacing
bool UnityEngine.UI.Extensions.FlowLayoutGroup.ExpandHorizontalSpacing = false |
◆ invertOrder
bool UnityEngine.UI.Extensions.FlowLayoutGroup.invertOrder = false |
◆ m_StartAxis
◆ SpacingX
float UnityEngine.UI.Extensions.FlowLayoutGroup.SpacingX = 0f |
◆ SpacingY
float UnityEngine.UI.Extensions.FlowLayoutGroup.SpacingY = 0f |
◆ IsCenterAlign
bool UnityEngine.UI.Extensions.FlowLayoutGroup.IsCenterAlign |
|
getprotected |
◆ IsLowerAlign
bool UnityEngine.UI.Extensions.FlowLayoutGroup.IsLowerAlign |
|
getprotected |
◆ IsMiddleAlign
bool UnityEngine.UI.Extensions.FlowLayoutGroup.IsMiddleAlign |
|
getprotected |
◆ IsRightAlign
bool UnityEngine.UI.Extensions.FlowLayoutGroup.IsRightAlign |
|
getprotected |
◆ startAxis
Axis UnityEngine.UI.Extensions.FlowLayoutGroup.startAxis |
|
getset |
The documentation for this class was generated from the following file: