Package com.openinventor.inventor.nodes
Class SoTextureMatrix
- 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.SoTextureMatrix
-
- All Implemented Interfaces:
SafeDisposable
public class SoTextureMatrix extends SoNode
Texture matrix node. This node defines the current texture matrix applied to texture coordinates. If you are using multiple textures, note that this transformation is applied to the texture coordinates of the current texture unit (SoTextureUnit
). This transformation affects the way textures are applied to the surfaces of subsequent shapes. This allows a user to change the size and position of the textures on objects.File format/default:
TextureMatrix {
matrix 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 Action behavior:
SoGLRenderAction
,SoCallbackAction
Concatenates transformation with the current texture transformation. Sets:SoTextureMatrixElement
-
-
Nested Class Summary
-
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 SoSFMatrix
matrix
-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Constructor Summary
Constructors Constructor Description SoTextureMatrix()
Creates a texture transformation 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
-
matrix
public final SoSFMatrix matrix
-
-