CreateCGFX

Introduced

v5.1

Description

Imports a .cgfx file into the current scene.

Scripting Syntax

CreateCGFX( FileName, Library, Model );

Parameters

Parameter Type Description
FileName String Name of the file to import

Default Value: A file browser will prompt for a file if no filename is provided.

Library String Library to add the .cgfx file to
Model String Object or model to set as the user of the imported .cgfx

See Also

CreateFX