Click or drag to resize
SoExtTexture2PrequalifyFileCallback Property

This callback is called by OIV.Inventor.Nodes.SoExtTexture2 nodes just before opening a file with the proposed path.

Namespace: OIV.Inventor.Nodes
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public static SoExtTexture2PrequalifyFileCB PrequalifyFileCallback { get; set; }

Property Value

Type: SoExtTexture2PrequalifyFileCB
Remarks

It allows you to modify the path and/or indicate that the texture has already been handled.

You could use the callback, for example, to load an image in a file format that Open Inventor doesn't natively support. The callback could

  • detect (by examining the path) that the file is of a particular format,

  • call application-supplied code to read the texture file

  • set the image into the image field of the texture node

  • set the flag indicating that the texture has been handled.

See Also