Represents the imported model.
More...
|
int | VoxelsCount [get] |
| Voxels count representing the model.
|
|
VoxelAsset | ParentAsset [get, set] |
| Parent asset of the model.
|
|
int | ID [get, set] |
| The unique id of the model.
|
|
Vector3Int | Size [get, set] |
| The model boundaries size.
|
|
VoxelData | this[int index] [get] |
| Provides access to the voxel by the index.
|
|
Represents the imported model.
◆ SetVoxels()
void VoxelToolkit.Model.SetVoxels |
( |
List< VoxelData > |
voxels | ) |
|
Sets the voxels to the model.
- Parameters
-
voxels | The list of the voxels to be set |
◆ this[int index]
Provides access to the voxel by the index.
- Parameters
-
index | The index of the voxel to be accessed |
The documentation for this class was generated from the following file:
- Voxel Toolkit/Scripts/Assets/Model.cs