Skip to main content

LayoutHelper2D.LayoutInfo

A struct in Root.Township, the global namespace.

Result of a 2D grid layout: element positions and the scale to draw them at.

Constructors​

MemberWhat it is
LayoutInfo(List<Vector3> positions, float scale)Creates a LayoutHelper2D.LayoutInfo from positions and scale.

Fields​

MemberWhat it is
List<Vector3> PositionsPosition of each element, one per element.
float ScaleScale factor for the elements so they fit.

Used in​

Members of other types that take, return or hold a LayoutInfo: