Method | Description | |
---|---|---|
GetAnchor ( int index ) : |
Gets the anchor with the specified template-wide unique index.
|
|
GetContext ( int index ) : |
Gets the context with the specified template-wide unique index.
|
Method | Description | |
---|---|---|
ChunkTemplate ( int weight, string tag, bool allowChunkRotation ) : System |
Constructs a new chunk template with the specified weight, category and rotation permission.
|
protected ChunkTemplate ( int weight, string tag, bool allowChunkRotation ) : System | ||
weight | int | Relative weight of the new chunk template. |
tag | string | Category of the new chunk template. |
allowChunkRotation | bool | Whether the level generator is allowed to rotate chunks created with the template by 90°, or not. |
return | System |
public GetAnchor ( int index ) : |
||
index | int | Index of the anchor to get. |
return |
public GetContext ( int index ) : |
||
index | int | Index of the context to get. |
return |