Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

instances

This node is an efficient way to specify a large number of instances. It has the following attributes:

NameTypeDefault
sourcemodels<connection>

The instanced models should connect to this attribute. Connections must have an integer index attribute if there are several, so the models effectively form an ordered list.

NameTypeDefault
transformationmatricesdoublematrix

A transformation matrix for each instance.

NameTypeDefault
modelindicesint0

An optional model selector for each instance. The value used is matched to the index attribute of the model connection. A negative value will cause an instance to not be rendered.

NameTypeDefault
disabledinstancesint

An optional list of indices of instances which are not to be rendered.