Class SoTangentElement
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.inventor.elements.SoElement
com.openinventor.inventor.elements.SoReplacedElement
com.openinventor.inventor.elements.SoTangentElement
Allows read-only access to the top element in the state.
This class allows read-only access to the top element in the state to make accessing several values in it more efficient. Individual values must be accessed through this instance.
SoTangent, SoVertexProperty
-
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 TypeMethodDescriptionget(int index) Returns the indexed tangent from an element.static intDeprecated.As of Open Inventor 9.3.0.0.static SoTangentElementgetInstance(SoState state) Returns the top (current) instance of the element in the state.intgetNum()Returns the number of tangent vectors in an instance.static voidSets the current tangents.Methods inherited from class com.openinventor.inventor.elements.SoElement
getClassStackIndex, pop, pushMethods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
Method Details
-
getClassStackIndex
Deprecated.As of Open Inventor 9.3.0.0. replaced by SoElement.getClassStackIndex(Class)Returns the stack id for this element. ] * -
getInstance
Returns the top (current) instance of the element in the state. -
get
Returns the indexed tangent from an element. -
getNum
public int getNum()Returns the number of tangent vectors in an instance. -
set
Sets the current tangents.
-