public class SoTextureCoordinatePlane extends SoTextureCoordinateFunction
directionS
and directionT
fields define the plane. The S coordinate is computed as the distance from the object-space origin along the vector specified in the directionS
field. The T coordinate is computed similarly, using the directionT
field.
The length of the direction vector is also taken into account. For example, assume directionS
is (0.5, 0, 0) and directionT
is (0, 1, 0). The square defined by the (x, y, z) vertices:
will be assigned the (s, t) texture coordinates:(-1, -1, 0) (1, -1, 0) (1, 1, 0) (-1, 1, 0)
(-2, -1) (2, -1) (2, 1) (-2, 1)
File format/default:
TextureCoordinatePlane {
directionS | 1 0 0 |
directionT | 0 1 0 |
Action behavior:
SoGLRenderAction
, SoCallbackAction
, SoRayPickAction
Sets the current texture function in the state.
See also:
SoTexture2
, SoTexture2Transform
, SoTextureCoordinateDefault
, SoTextureCoordinateEnvironment
SoNode.RenderModes
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
SoSFVec3f |
directionS |
SoSFVec3f |
directionT
Directions of projection for S and T coordinates.
|
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoTextureCoordinatePlane()
Creates a texture function 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
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com