Empeld
Empeld plugin documentation.
|
Helper class to place an arbitrary set of blocks with positions, and generate a prefab More...
Public Member Functions | |
PrefabGenerator () | |
PrefabGenerator (Vector3i center) | |
void | PlaceBlock (Vector3i pos, IBlock block) |
void | PlaceLabel (Vector3i pos, string label) |
Prefab | ToPrefab () |
Volume | GetBounds () |
override string | ToString () |
Properties | |
Vector3i | Center [get, set] |
Helper class to place an arbitrary set of blocks with positions, and generate a prefab
essentials.Prefabs.PrefabGenerator.PrefabGenerator | ( | ) |
essentials.Prefabs.PrefabGenerator.PrefabGenerator | ( | Vector3i | center | ) |
Volume essentials.Prefabs.PrefabGenerator.GetBounds | ( | ) |
void essentials.Prefabs.PrefabGenerator.PlaceLabel | ( | Vector3i | pos, |
string | label | ||
) |
Prefab essentials.Prefabs.PrefabGenerator.ToPrefab | ( | ) |
Attribute: i
.pos - bounds.Point;
Attribute: prefabPt] = _prefabBlocks[i
.block;
Attribute: i
;
override string essentials.Prefabs.PrefabGenerator.ToString | ( | ) |
|
getset |