Class SoMultipleInstanceElement
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.inventor.elements.SoElement
com.openinventor.inventor.elements.SoReplacedElement
com.openinventor.inventor.elements.SoMultipleInstanceElement
Stores current MultiInstance info.
This element stores the current multiple instance information.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
Field Summary
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
Method Summary
Modifier and TypeMethodDescriptionstatic SoMultipleInstance
Returns the current element in the state.static int
Deprecated.As of Open Inventor 9.3.0.0.static SoMultipleInstance
returns the default element value.static int
getNumBatches
(SoState state) Return the number of batches.static int
getNumInstances
(SoState state) Returns the number of shape instance requests in the state.static void
set
(SoState state, SoNode node, SoMultipleInstance instanceproperty) Sets the current multiple instance node.Methods inherited from class com.openinventor.inventor.elements.SoElement
getClassStackIndex, pop, push
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
Method Details
-
set
Sets the current multiple instance node. -
getClassStackIndex
Deprecated.As of Open Inventor 9.3.0.0. replaced by SoElement.getClassStackIndex(Class)Returns the stack id for this element. ] * -
getNumBatches
Return the number of batches. -
getDefault
returns the default element value. -
get
Returns the current element in the state. -
getNumInstances
Returns the number of shape instance requests in the state.
-