Share

GLTF_Export : ExporterPlugin

Exposes the GLTF Exporter options (Real-time Exporter for .gltf / .glb files) to MAXScript.

Constructor

Class instances not creatable by MAXScript.

Properties

    .ShellMaterialUseBakedMtl : boolean : Read|Write

Gets or sets how to export shell materials. When true, baked materials are exported, otherwise original materials are exported.

Methods

    <void>saveTo3dsmaxINI()
       saveTo3dsmaxINI - no automatic redraw after invoked

Saves the current settings to the 3dsMax.ini file. Settings are saved under [glTF Export Options].

    <boolean>loadFrom3dsmaxINI()
       loadFrom3dsmaxINI - no automatic redraw after invoked

Loads the settings from the 3dsMax.ini file, overwriting any changes that may have been made to the current settings.

    <string>toJsonStr()
       toJsonStr - no automatic redraw after invoked

Prints the current settings to a JSON formatted text string.

    <boolean>fromJsonStr <string>jsonStr
       fromJsonStr - no automatic redraw after invoked

Loads the current settings from specified JSON formatted jsonStr string.

    <boolean>toJsonFile <filename>fileName
       toJsonFile - no automatic redraw after invoked

Saves the current settings in JSON format to the specified fileName.

    <boolean>fromJsonFile <filename>fileName
       fromJsonFile - no automatic redraw after invoked

Loads the settings from the specified JSON formatted fileName.

Was this information helpful?