Voxel toolkit
The toolkit that lets you easily import .vox assets and have runtime API
Loading...
Searching...
No Matches
VoxelToolkit.Group Class Reference

Represents the group of the shapes/transforms etc. More...

Inheritance diagram for VoxelToolkit.Group:
VoxelToolkit.HierarchyNode

Public Member Functions

void AddChild (HierarchyNode node)
 Adds a child to the group.
 
void RemoveChildren (HierarchyNode node)
 Removes a child from the group.
 
void RemoveChild (int index)
 Removes child at the index.
 

Properties

int ChildrenCount [get]
 The count of the children.
 
override ScriptableObject[] RelatedObjects [get]
 The related objects of the node.
 
HierarchyNode this[int index] [get]
 Providing the access to the child.
 
- Properties inherited from VoxelToolkit.HierarchyNode
int ID [get]
 Element's unique ID.
 
virtual ScriptableObject[] RelatedObjects [get]
 The related objects of the node.
 

Detailed Description

Represents the group of the shapes/transforms etc.

Member Function Documentation

◆ AddChild()

void VoxelToolkit.Group.AddChild ( HierarchyNode  node)

Adds a child to the group.

Parameters
nodeThe child to be added

◆ RemoveChild()

void VoxelToolkit.Group.RemoveChild ( int  index)

Removes child at the index.

Parameters
indexThe index of the child to be removed

◆ RemoveChildren()

void VoxelToolkit.Group.RemoveChildren ( HierarchyNode  node)

Removes a child from the group.

Parameters
nodeThe child to be removed

Property Documentation

◆ this[int index]

HierarchyNode VoxelToolkit.Group.this[int index]
get

Providing the access to the child.

Parameters
indexThe index of the child to be accessed

The documentation for this class was generated from the following file: