SetActiveInterfaceFile Data Member Function

Sets the active interface file to the specified interface definition file. This is a file with a .XML extension such as v0_shader.xml or v1_shader.xml.

Prototype

int32 SetActiveInterfaceFile( string p_sPath, int32 p_oModel )

Parameters

Parameter Type Parameter Name Documentation
stringp_sPathThe absolute path to the interface definition file. For example: C:\\MyFolder\\MyInterface.xml.
int32p_oModelA pointer to the current model. Usually you pass in Model to this parameter. For example: Application.SetActiveInterfaceFile( path, Model );.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.