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 SoMultipleInstanceReturns the current element in the state.static intDeprecated.As of Open Inventor 9.3.0.0.static SoMultipleInstancereturns the default element value.static intgetNumBatches(SoState state) Return the number of batches.static intgetNumInstances(SoState state) Returns the number of shape instance requests in the state.static voidset(SoState state, SoNode node, SoMultipleInstance instanceproperty) Sets the current multiple instance node.Methods inherited from class com.openinventor.inventor.elements.SoElement
getClassStackIndex, pop, pushMethods 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.
-