Show / Hide Table of Contents

Class Tileset

Inheritance
System.Object
Tileset
Namespace: CarbideFunction.Wildtile
Syntax
public class Tileset : ScriptableObject

Fields

horizontalMatchingFaceHashes

Declaration
public List<Tileset.FaceHashToOppositeFaceHash> horizontalMatchingFaceHashes
Field Value
Type Description
System.Collections.Generic.List<Tileset.FaceHashToOppositeFaceHash>

marchingCubeLookupName

Declaration
public const string marchingCubeLookupName = "marchingCubeLookup"
Field Value
Type Description
System.String

modules

Declaration
public List<Module> modules
Field Value
Type Description
System.Collections.Generic.List<Module>

postprocessor

Declaration
public Postprocessor postprocessor
Field Value
Type Description
Postprocessor

tileDimensions

Declaration
public Vector3 tileDimensions
Field Value
Type Description
Vector3

verticalMatchingFaceHashes

Declaration
public List<Tileset.FaceHashToOppositeFaceHash> verticalMatchingFaceHashes
Field Value
Type Description
System.Collections.Generic.List<Tileset.FaceHashToOppositeFaceHash>

Properties

MarchingCubeLookup

Declaration
public Tileset.CubeConfiguration[] MarchingCubeLookup { get; }
Property Value
Type Description
Tileset.CubeConfiguration[]

Methods

CreateSlotGridFromVoxelGrid(VoxelGrid, Boolean, Boolean, Boolean)

Declaration
public SlotGrid CreateSlotGridFromVoxelGrid(VoxelGrid sourceGrid, bool createBottomTiles, bool createSideTiles, bool createTopTiles)
Parameters
Type Name Description
VoxelGrid sourceGrid
System.Boolean createBottomTiles
System.Boolean createSideTiles
System.Boolean createTopTiles
Returns
Type Description
SlotGrid

GetSlotContents(VoxelGrid, Vector3Int)

Declaration
public int GetSlotContents(VoxelGrid sourceGrid, Vector3Int coords)
Parameters
Type Name Description
VoxelGrid sourceGrid
Vector3Int coords
Returns
Type Description
System.Int32

PopulateSlotGridFromVoxelGrid(VoxelGrid, SlotGrid)

Declaration
public void PopulateSlotGridFromVoxelGrid(VoxelGrid sourceGrid, SlotGrid slotGrid)
Parameters
Type Name Description
VoxelGrid sourceGrid
SlotGrid slotGrid

ResetCubeLookup()

Declaration
public void ResetCubeLookup()
In This Article
Generated by DocFX Version: 3.2.1 - click to show/hide other versions