Show / Hide Table of Contents

Class DualGridVoxelMeshBackupTiles

Holds a single tile game object for each marching cube configuration

This is used by the GridPlacer when the tile has not been collapsed or if the slot is wild.

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

Fields

tilesName

Name of the tiles property. Used when serializing in Unity.

Declaration
public const string tilesName = "tiles"
Field Value
Type Description
System.String

Methods

GetMeshObjectForCubeConfig(Int32)

Get the prefab for a marching cube index.

Declaration
public GameObject GetMeshObjectForCubeConfig(int cubeConfig)
Parameters
Type Name Description
System.Int32 cubeConfig

The marching cube index to get. Should be between 0-255 (inclusive).

Returns
Type Description
GameObject
In This Article
Generated by DocFX Version: 4.1.0 - click to show/hide other versions