VoxelInstanceLibrary
Contains a list of models that can be used by VoxelInstancer, associated with a unique ID.
Contains a list of models that can be used by VoxelInstancer, associated with a unique ID.
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Constructors1
VoxelInstanceLibraryConstructor
public VoxelInstanceLibrary();Properties2
_DataProperty
public Reckfell.Collections.Array _Data { get; set; }_SelectedItemProperty
public VoxelInstanceLibraryItem _SelectedItem { get; set; }Methods6
AddItemvoid
public void AddItem(int id, VoxelInstanceLibraryItem item);| Name | Type | Default |
|---|---|---|
id | int | — |
item | VoxelInstanceLibraryItem | — |
Clearvoid
public void Clear();FindItemByNameint
public int FindItemByName(string name);| Name | Type | Default |
|---|---|---|
name | string | — |
Returns
intGetAllItemIdsint[]
public int[] GetAllItemIds();Returns
int[]GetItemVoxelInstanceLibraryItem
public VoxelInstanceLibraryItem GetItem(int id);| Name | Type | Default |
|---|---|---|
id | int | — |
Returns
VoxelInstanceLibraryItemRemoveItemvoid
public void RemoveItem(int id);| Name | Type | Default |
|---|---|---|
id | int | — |
Fields and constants1
MaxIdField
public const long MaxId = 65535;Reckfell Engine documentationBack to top ↑