grow-layout
v1.1.2
Published
Parameterized grow / shrink layout for CraftML
Downloads
13
Readme
grow-layout
Parameterized grow/shrink function for CraftML
Usage
<craft>
<craft name="grow-layout" module="grow-layout"/>
<grow-layout></grow-layout>
</craft>
Parameters
- factor: adjusts overall scale of growth / shrinkage
- xfactor: adjusts scale of growth / shrinkage on x-axis
- yfactor: adjusts scale of growth / shrinkage on y-axis
- zfactor: adjusts scale of growth / shrinkage on z-axis
Example
<craft>
<craft name="grow-layout" module="grow-layout"/>
<col spacing="10">
<row spacing="3">
<grow-layout>
<repeat n="4">
<cube></cube>
</repeat>
</grow-layout>
</row>
<row spacing="3">
<grow-layout factor="0.9">
<repeat n="4">
<cube></cube>
</repeat>
</grow-layout>
</row>
</col>
</craft>