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.2.2.0 (10.16.2.0)
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