Class Prototile
Assembly: Sylves.dll
Syntax
Constructors
Prototile()
Declaration
Properties
ChildPrototiles
Declaration
public (Matrix4x4 transform, string childName)[] ChildPrototiles { get; set; }
Property Value
ChildTiles
Declaration
public Vector3[][] ChildTiles { get; set; }
Property Value
ExteriorPrototileAdjacencies
Declaration
public (int parentSide, int parentSubSide, int parentSubSideCount, int child, int childSide)[] ExteriorPrototileAdjacencies { get; set; }
Property Value
ExteriorTileAdjacencies
Declaration
public (int parentSide, int parentSubSide, int parentSubSideCount, int child, int childSide)[] ExteriorTileAdjacencies { get; set; }
Property Value
InteriorPrototileAdjacencies
Declaration
public (int fromChild, int fromChildSide, int toChild, int toChildSide)[] InteriorPrototileAdjacencies { get; set; }
Property Value
InteriorTileAdjacencies
Declaration
public (int fromChild, int fromChildSide, int toChild, int toChildSide)[] InteriorTileAdjacencies { get; set; }
Property Value
Name
Declaration
public string Name { get; set; }
Property Value
PassthroughPrototileAdjacencies
Declaration
public (int fromParentSide, int fromParentSubSide, int toParentSide, int toParentSubSide)[] PassthroughPrototileAdjacencies { get; set; }
Property Value
Methods
Clone()
Declaration
Returns
CopyPrototileToTiles()
Declaration
public Prototile CopyPrototileToTiles()
Returns
HasSingleTile()
Declaration
public Prototile HasSingleTile()
Returns
Mirror()
Declaration
public Prototile Mirror()
Returns
Rename(string)
Declaration
public Prototile Rename(string name)
Parameters
| Type |
Name |
Description |
| string |
name |
|
Returns
RenameChildren(Dictionary<string, string>)
Declaration
public Prototile RenameChildren(Dictionary<string, string> renames)
Parameters
Returns
SwapChildren(int, int)
Declaration
public Prototile SwapChildren(int a, int b)
Parameters
| Type |
Name |
Description |
| int |
a |
|
| int |
b |
|
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides