Show / Hide Table of Contents

Class Prototile

Inheritance
object
Prototile
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: Sylves
Assembly: Sylves.dll
Syntax
public class Prototile

Constructors

Prototile()

Declaration
public Prototile()

Properties

ChildPrototiles

Declaration
public (Matrix4x4 transform, string childName)[] ChildPrototiles { get; set; }
Property Value
Type Description
(Matrix4x4 transform, string childName)[]

ChildTiles

Declaration
public Vector3[][] ChildTiles { get; set; }
Property Value
Type Description
Vector3[][]

ExteriorPrototileAdjacencies

Declaration
public (int parentSide, int parentSubSide, int parentSubSideCount, int child, int childSide)[] ExteriorPrototileAdjacencies { get; set; }
Property Value
Type Description
(int parentSide, int parentSubSide, int parentSubSideCount, int child, int childSide)[]

ExteriorTileAdjacencies

Declaration
public (int parentSide, int parentSubSide, int parentSubSideCount, int child, int childSide)[] ExteriorTileAdjacencies { get; set; }
Property Value
Type Description
(int parentSide, int parentSubSide, int parentSubSideCount, int child, int childSide)[]

InteriorPrototileAdjacencies

Declaration
public (int fromChild, int fromChildSide, int toChild, int toChildSide)[] InteriorPrototileAdjacencies { get; set; }
Property Value
Type Description
(int fromChild, int fromChildSide, int toChild, int toChildSide)[]

InteriorTileAdjacencies

Declaration
public (int fromChild, int fromChildSide, int toChild, int toChildSide)[] InteriorTileAdjacencies { get; set; }
Property Value
Type Description
(int fromChild, int fromChildSide, int toChild, int toChildSide)[]

Name

Declaration
public string Name { get; set; }
Property Value
Type Description
string

PassthroughPrototileAdjacencies

Declaration
public (int fromParentSide, int fromParentSubSide, int toParentSide, int toParentSubSide)[] PassthroughPrototileAdjacencies { get; set; }
Property Value
Type Description
(int fromChild, int fromChildSide, int toChild, int toChildSide)[]

Methods

Clone()

Declaration
public Prototile Clone()
Returns
Type Description
Prototile

CopyPrototileToTiles()

Declaration
public Prototile CopyPrototileToTiles()
Returns
Type Description
Prototile

HasSingleTile()

Declaration
public Prototile HasSingleTile()
Returns
Type Description
Prototile

Mirror()

Declaration
public Prototile Mirror()
Returns
Type Description
Prototile

Rename(string)

Declaration
public Prototile Rename(string name)
Parameters
Type Name Description
string name
Returns
Type Description
Prototile

RenameChildren(Dictionary<string, string>)

Declaration
public Prototile RenameChildren(Dictionary<string, string> renames)
Parameters
Type Name Description
Dictionary<string, string> renames
Returns
Type Description
Prototile

SwapChildren(int, int)

Declaration
public Prototile SwapChildren(int a, int b)
Parameters
Type Name Description
int a
int b
Returns
Type Description
Prototile

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()
In this article
Back to top Generated by DocFX