Class SoTextureImage3Element
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.elements.SoElement
-
- com.openinventor.inventor.elements.SoReplacedTextureElement
-
- com.openinventor.inventor.elements.SoTextureImageElementBase
-
- com.openinventor.inventor.elements.SoTextureImage3Element
-
public class SoTextureImage3Element extends SoTextureImageElementBase
Stores the current 3D texture image. This element stores the current 3D texture image.- See Also:
SoTexture3
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.openinventor.inventor.elements.SoTextureImageElementBase
SoTextureImageElementBase.Targets
-
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
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static boolean
containsTransparency(SoState state)
Calls containsTransparency(state, (int)0).static boolean
containsTransparency(SoState state, int unit)
Returns true if the texture contains transparency info.static int
getClassStackIndex()
Deprecated.As of Open Inventor 9300.static void
set(SoState state, SoNode node, SbVec3s subSize, int xoffset, int yoffset, int zoffset, byte[] bytes, int texname)
Pass texname = -1 to deactivate subtexturing.-
Methods inherited from class com.openinventor.inventor.elements.SoTextureImageElementBase
push
-
Methods inherited from class com.openinventor.inventor.elements.SoElement
getClassStackIndex, pop
-
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
-
-
-
Method Detail
-
containsTransparency
public static boolean containsTransparency(SoState state)
Calls containsTransparency(state, (int)0).
-
set
public static void set(SoState state, SoNode node, SbVec3s subSize, int xoffset, int yoffset, int zoffset, byte[] bytes, int texname)
Pass texname = -1 to deactivate subtexturing. subtexturing not active by default. In any case, the regular set method must be called.
-
containsTransparency
public static boolean containsTransparency(SoState state, int unit)
Returns true if the texture contains transparency info.
-
getClassStackIndex
@Deprecated public static int getClassStackIndex()
Deprecated.As of Open Inventor 9300. replaced by SoElement.getClassStackIndex(Class)Returns the stack id for this element. ] *
-
-