Search Results for

    Show / Hide Table of Contents

    Class DualGridVoxelMeshBackupTiles

    Holds a single tile module mesh 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 module mesh for a marching cube index.

    Declaration
    public ModuleMesh 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
    ModuleMesh
    In This Article
    Generated by DocFX Wildtile Documentation