Show / Hide Table of Contents

Class SlotGrid

Inheritance
System.Object
SlotGrid
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: CarbideFunction.Wildtile
Syntax
public class SlotGrid

Constructors

SlotGrid(Vector3Int, Vector3Int)

Declaration
public SlotGrid(Vector3Int dimensions, Vector3Int originBias)
Parameters
Type Name Description
Vector3Int dimensions
Vector3Int originBias

Fields

originBias

Declaration
public readonly Vector3Int originBias
Field Value
Type Description
Vector3Int

Properties

Dimensions

Declaration
public Vector3Int Dimensions { get; }
Property Value
Type Description
Vector3Int

SlotData

Declaration
public Slot[,, ] SlotData { get; }
Property Value
Type Description
Slot[,,]

SlotDataFlattened

Declaration
public IEnumerable<Slot> SlotDataFlattened { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<Slot>

Methods

GetSlot(Int32, Int32, Int32)

Declaration
public Slot GetSlot(int x, int y, int z)
Parameters
Type Name Description
System.Int32 x
System.Int32 y
System.Int32 z
Returns
Type Description
Slot

GetSlot(Vector3Int)

Declaration
public Slot GetSlot(Vector3Int coord)
Parameters
Type Name Description
Vector3Int coord
Returns
Type Description
Slot

IsWithinBounds(Vector3Int)

Declaration
public bool IsWithinBounds(Vector3Int coord)
Parameters
Type Name Description
Vector3Int coord
Returns
Type Description
System.Boolean
In This Article
Generated by DocFX Version: 3.2.1 - click to show/hide other versions