public class SoTextureCoordinate2 extends SoNode
SoVertexShape
). If you are using multiple textures, these texture coordinates apply to the current texture unit (SoTextureUnit
). This node replaces the current texture coordinates in the rendering state for the shapes to use.
The current texture coordinate binding (see SoTextureCoordinateBinding
) determines how texture coordinates are mapped to vertices of shapes. An alternative to using explicit texture coordinates is to generate them using a function; see SoTextureCoordinateFunction
.
Texture coordinates range from 0 to 1 across the texture. The horizontal coordinate, called S, is specified first, followed by the vertical coordinate, T.
File format/default:
TextureCoordinate2 {
point | [ ] |
forceSending | false |
Action behavior:
SoGLRenderAction
, SoCallbackAction
Sets the current texture coordinates in the state. Sets: SoTextureCoordinateElement
See also:
SoTexture2
, SoTextureCoordinateBinding
, SoTextureCoordinateFunction
, SoTextureUnit
, SoVertexProperty
, SoVertexShape
SoNode.RenderModes
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
SoSFBool |
forceSending
Forces the texture coordinates to be sent to OpenGL even if no texture is bound.
|
SoMFVec2f |
point
Texture coordinate points.
|
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoTextureCoordinate2()
Creates a texture coordinate node with default settings.
|
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
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizable
getNativeResourceHandle
public final SoMFVec2f point
public final SoSFBool forceSending
SoPreferences
.
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com