Show / Hide Table of Contents

Class TransformedModule

This class is the actual module in terms of WFC. It reads from Wildtile aaaaaaa Modules and transforms the referenced module's faces for easy access, while maintaining a single source of data.

Inheritance
System.Object
TransformedModule
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: CarbideFunction.Wildtile
Syntax
[Serializable]
public class TransformedModule

Fields

isFlipped

Declaration
public bool isFlipped
Field Value
Type Description
System.Boolean

moduleIndex

Declaration
public int moduleIndex
Field Value
Type Description
System.Int32

selectionWeight

Declaration
public float selectionWeight
Field Value
Type Description
System.Single

yawIndex

Declaration
public int yawIndex
Field Value
Type Description
System.Int32

Methods

GetFaceLayoutIndices(Module, Boolean, Int32)

Read face data from from Wildtile Modules and get the relevant faces for isFlipped and yawIndex.

This method allocates memory.

Declaration
public static FaceData<FaceLayoutIndex> GetFaceLayoutIndices(Module module, bool isFlipped, int yawIndex)
Parameters
Type Name Description
Module module
System.Boolean isFlipped
System.Int32 yawIndex
Returns
Type Description
FaceData<FaceLayoutIndex>

GetFaceLayoutIndices(IReadOnlyList<Module>)

Read face data from from Wildtile Modules and get the relevant faces for this TransformedModule's transform.

This method allocates memory.

Declaration
public FaceData<FaceLayoutIndex> GetFaceLayoutIndices(IReadOnlyList<Module> modules)
Parameters
Type Name Description
IReadOnlyList<Module> modules
Returns
Type Description
FaceData<FaceLayoutIndex>

GetHash()

Declaration
public int GetHash()
Returns
Type Description
System.Int32

GetUserFriendlyName(IList<Module>)

Constructs a human-readable name for this TransformedModule. This is not necessarily unique.

This string might change between versions of Wildtile.

Declaration
public string GetUserFriendlyName(IList<Module> modules)
Parameters
Type Name Description
IList<Module> modules
Returns
Type Description
System.String
In This Article
Generated by DocFX Version: 4.1.0 - click to show/hide other versions