Engine.getNodeList

Get a collection of nodes from the engine, based on the type of the node required.

<p>The engine will create the appropriate NodeList if it doesn't already exist and will keep its contents up to date as entities are added to and removed from the engine.</p>

<p>If a NodeList is no longer required, release it with the releaseNodeList method.</p>

@param nodeClass The type of node required.

  1. NodeList getNodeList(ClassInfo nodeType_a, IFamily delegate() createInstance_a)
    class Engine
    getNodeList
    (
    ClassInfo nodeType_a
    ,
    IFamily delegate
    ()
    createInstance_a = null
    )
  2. NodeList getNodeList(IFamily delegate() createInstance_a)

Return Value

Type: NodeList

A linked list of all nodes of this type from all entities in the engine.

Meta