Search Results for

    Show / Hide Table of Contents

    Class IrregularVoxelGrid

    A 3D grid of voxels that can be either "filled" or "empty".

    Not necessarily square, this can take any form.

    Inheritance
    System.Object
    VoxelGridAsset
    IrregularVoxelGrid
    Implements
    IVoxelGrid
    Namespace: CarbideFunction.Wildtile
    Syntax
    public class IrregularVoxelGrid : VoxelGridAsset, IVoxelGrid

    Properties

    Voxels

    Declaration
    public override IReadOnlyList<IVoxelGrid.Voxel> Voxels { get; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyList<IVoxelGrid.Voxel>
    Overrides
    VoxelGridAsset.Voxels

    Methods

    GetVoxel(Int32)

    Declaration
    public override IVoxelGrid.Voxel GetVoxel(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    IVoxelGrid.Voxel
    Overrides
    VoxelGridAsset.GetVoxel(Int32)

    SetVoxelContents(Int32, Int32)

    Declaration
    public override void SetVoxelContents(int index, int newContents)
    Parameters
    Type Name Description
    System.Int32 index
    System.Int32 newContents
    Overrides
    VoxelGridAsset.SetVoxelContents(Int32, Int32)

    Visit(IVoxelGridVisitor)

    Declaration
    public override void Visit(IVoxelGridVisitor visitor)
    Parameters
    Type Name Description
    IVoxelGridVisitor visitor
    Overrides
    VoxelGridAsset.Visit(IVoxelGridVisitor)

    Implements

    IVoxelGrid
    In This Article
    Generated by DocFX Wildtile Documentation