Click or drag to resize
SoShaderObjectsourceProgram Property

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

Property Value

Type: SoSFFilePathString
Remarks

If the filename is not an absolute path name, the list of directories maintained by OIV.Inventor.SoInput is searched. If the source program is not found in any of those directories, then the file is searched for relative to the directory from which the OIV.Inventor.Nodes.SoShaderObject node was read.

NOTE: The source type (OIV.Inventor.Nodes.SoShaderObject.sourceType) must be specified before the source program is specified.

See Also