readme.txt 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. Important notes:
  2. - For for editing convenience, Layout will update every frame inside editor.
  3. For runtime scripts, please call layout.UpdateLayout() to apply any changes.
  4. This behavior can be modified in LayoutGroup3D.cs.
  5. LayoutElement3D:
  6. Basic component for auto layout 3D, it defines the layout element bounding box.
  7. - Center:
  8. Center of layout element bounding box (local transform).
  9. - Size:
  10. Size of layout element bounding box (local transform).
  11. X/Y/Z AxisLayoutGroup3D:
  12. The X/Y/Z AxisLayoutGroup component places its child layout elements next to each other, along x/y/z axis.
  13. - Center:
  14. Center of layout element bounding box (local transform).
  15. - Size:
  16. Size of layout element bounding box (local transform).
  17. - Padding:
  18. The padding inside the edges of the layout group.
  19. - Spacing:
  20. The spacing between layout elements along x axis.
  21. - Child Alignment X(Y,Z):
  22. The alignment to use for the child layout elements along x(y,z) axis,
  23. align with the lower boundary, upper boundary, or middle of the bounding box.
  24. - Child Direction:
  25. The arrangement direction to use for the child layout elements along x/y/z axis,
  26. from lower to upper, or from upper to lower.
  27. - Child Controls Size:
  28. Whether the layout group controls the size of its children.
  29. - Child Forced Expand:
  30. Whether to force the children to expand to fill additional available space.
  31. GridLayoutGroup3D:
  32. The Grid Layout Group component places its child layout elements next to each other, inside a 3D grid.
  33. - Center:
  34. Center of layout element bounding box (local transform).
  35. - Size:
  36. Size of layout element bounding box (local transform).
  37. - Padding:
  38. The padding inside the edges of the layout group.
  39. - Cell Size:
  40. The size to use for each layout element in the group.
  41. - Spacing:
  42. The spacing between layout elements.
  43. - Axis Order:
  44. The axis order to place child layout elements.
  45. For example, the XZY order will fill up x axis first,
  46. followed by XZ plane, and lastly place elements along y axis.
  47. - Child Alignment X(Y,Z):
  48. The alignment to use for the child layout elements along x(y,z) axis,
  49. align with the lower boundary, upper boundary, or middle of the bounding box.
  50. - Child Direction X(Y,Z):
  51. The arrangement direction to use for the child layout elements along x(y,z) axis,
  52. from lower to upper, or from upper to lower.
  53. - Child Controls Size:
  54. Whether the layout group’s cell controls the size of its children.
  55. - Child Forced Expand:
  56. Whether to force the children to expand to fill additional available space inside the layout group’s cell.
  57. - Constraint X(Y,Z):
  58. Constraint the grid to a fixed number of cells along x(y,z) axis to aid the auto layout system.