Package com.openinventor.inventor.nodes
Class SoTextureCoordinateBinding
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.misc.SoBase
-
- com.openinventor.inventor.fields.SoFieldContainer
-
- com.openinventor.inventor.nodes.SoNode
-
- com.openinventor.inventor.nodes.SoTextureCoordinateBinding
-
- All Implemented Interfaces:
SafeDisposable
public class SoTextureCoordinateBinding extends SoNode
Node that specifies how texture coordinates are bound to shapes. This node specifies how the current texture coordinates are bound to vertex-based shapes that follow in the scene graph. If you are using multiple textures, note that this binding applies to the texture coordinates of the current texture unit (SoTextureUnit
). The DEFAULT binding causes each shape to define its own default coordinates. These default coordinates typically cause a texture to be mapped across the whole surface of a shape.File format/default:
TextureCoordinateBinding {
value PER_VERTEX_INDEXED Action behavior:
SoGLRenderAction
,SoCallbackAction
Sets the current texture coordinate binding type. Sets:SoTextureCoordinateBindingElement
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SoTextureCoordinateBinding.Bindings
Binding value.-
Nested classes/interfaces inherited from class com.openinventor.inventor.nodes.SoNode
SoNode.RenderModes
-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
Fields Modifier and Type Field Description SoSFEnum<SoTextureCoordinateBinding.Bindings>
value
Specifies how to bind texture coordinates to shapes.-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Constructor Summary
Constructors Constructor Description SoTextureCoordinateBinding()
Creates a texture coordinate binding node with default settings.
-
Method Summary
-
Methods inherited from class com.openinventor.inventor.nodes.SoNode
affectsState, callback, copy, copy, distribute, doAction, getAlternateRep, getBoundingBox, getByName, getMatrix, getPrimitiveCount, getRenderEngineMode, getRenderUnitID, GLRender, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, handleEvent, isBoundingBoxIgnoring, isOverride, pick, rayPick, search, setOverride, touch, write
-
Methods inherited from class com.openinventor.inventor.fields.SoFieldContainer
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
-
Methods inherited from class com.openinventor.inventor.misc.SoBase
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizable
-
Methods inherited from class com.openinventor.inventor.Inventor
getNativeResourceHandle
-
-
-
-
Field Detail
-
value
public final SoSFEnum<SoTextureCoordinateBinding.Bindings> value
Specifies how to bind texture coordinates to shapes. . Default is PER_VERTEX_INDEXED.
-
-