Click or drag to resize
SoPickedPointGetTextureCoords Method

Returns the texture coordinates in image space.

Namespace: OIV.Inventor
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public SbVec4f GetTextureCoords()

Return Value

Type: SbVec4f
Remarks

NOTE: By default the OIV.Inventor.Actions.SoRayPickAction does not compute texture coordinates and this method returns 0,0,0,0. To enable texture coordinate computation call the enableTexCoordsGeneration() method on the pick action object or set the environment variable OIV_PICK_GENERATE_ALL_PROPERTIES to true.

See Also