Click or drag to resize
SoImageBackgroundfilename Property

Names file from which to read texture image.

Namespace: OIV.Inventor.Nodes
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public SoSFFilePathString filename { get; }

Property Value

Type: SoSFFilePathString
Remarks

The standard image file formats are supported. See OIV.Inventor.Image.SoRasterImageRW for the list. If the filename is not an absolute path name, the list of directories maintained by OIV.Inventor.SoInput is searched. If the texture is not found in any of those directories, then the file is searched for relative to the directory from which the node was read. For example, if a node with a filename of "../tofu.rgb" is read from /usr/people/bob/models/food.iv, then /usr/people/bob/tofu.rgb will be read (assuming tofu.rgb isn't found in the directories maintained by OIV.Inventor.SoInput).

See Also