Class DualGridVoxelMeshPlaceholderTiles
Holds a single tile game object for each marching cube configuration.
This is intended to be used by user-code when creating level editors.
Inheritance
System.Object
DualGridVoxelMeshPlaceholderTiles
Namespace: CarbideFunction.Wildtile
Syntax
public class DualGridVoxelMeshPlaceholderTiles : ScriptableObject
Fields
tilesName
The name of the tiles property. This is intended to be used to serialize within Unity.
Declaration
public const string tilesName = "tiles"
Field Value
| Type | Description |
|---|---|
| System.String |
Methods
GetMeshObjectForCubeConfig(Int32)
Return the prefab for the marching cube cubeConfig
Declaration
public ModuleMesh GetMeshObjectForCubeConfig(int cubeConfig)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | cubeConfig |
Returns
| Type | Description |
|---|---|
| ModuleMesh |