insert method

Object3D insert(
  1. int index,
  2. Object3D? object
)

Adds object as child of this object. An arbitrary number of objects may be added. Any current parent on an object passed in here will be removed, since an object can have at most one parent.

See Group for info on manually grouping objects.

Implementation

Object3D insert(int index, Object3D? object) {
  return _addInsert(object,index);
}