Interface dnx.lr.ChildInstanceMapper
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface dnx.lr.ChildInstanceMapper

public interface ChildInstanceMapper
extends Object
Used when doing a mapping over the children of a node instance.

Method Index

 o childInstanceMapperCallback(NodeInstance, NodeInstance, int, int, Object)
Callback for node instance INST, whose parent is PARENT; INST is the INSTINDth instance stored in the FIELDINDth field instance of PARENT.

Methods

 o childInstanceMapperCallback
  public abstract NodeInstance childInstanceMapperCallback(NodeInstance inst,
                                                           NodeInstance parent,
                                                           int fieldind,
                                                           int instind,
                                                           Object mapData)
Callback for node instance INST, whose parent is PARENT; INST is the INSTINDth instance stored in the FIELDINDth field instance of PARENT. Note that field instance indices are *NOT* the same as field indices -- there exist only as many field instances and there are child-carrying fields (i.e. MFNode or SFNode). You can convert between field instance indices and field indices using functions in the Node class. MAPDATA is the argument passed into the mapping function. The return value should be null if the mapping should stop immediately; otherwise it should be INST (unless INST has been replaced in the scene graph by another instance, in which case the return value should be the new instance).

All Packages  Class Hierarchy  This Package  Previous  Next  Index