Represents the shape object which consists of a certain number of VoxelToolkit.Model.
More...
|
int | ModelsCount [get] |
| Number of models in the shape.
|
|
Model | this[int index] [get] |
| Provides access to a model by an index.
|
|
List< Model > | Models [get] |
| Returns copy of the models list.
|
|
int | ID [get] |
| Element's unique ID.
|
|
virtual ScriptableObject[] | RelatedObjects [get] |
| The related objects of the node.
|
|
Represents the shape object which consists of a certain number of VoxelToolkit.Model.
◆ AddModel()
void VoxelToolkit.Shape.AddModel |
( |
Model |
model | ) |
|
Adds the model to the shape.
- Parameters
-
model | The model to be added |
◆ RemoveModel()
void VoxelToolkit.Shape.RemoveModel |
( |
Model |
model | ) |
|
Removes a model from the shape.
- Parameters
-
◆ RemoveModelAt()
void VoxelToolkit.Shape.RemoveModelAt |
( |
int |
index | ) |
|
Removes a model by the index.
- Parameters
-
index | The index of the model to be removed |
◆ this[int index]
Model VoxelToolkit.Shape.this[int index] |
|
get |
Provides access to a model by an index.
- Parameters
-
index | The index of the model to be accessed |
The documentation for this class was generated from the following file:
- Voxel Toolkit/Scripts/Assets/Shape.cs