

You can output all cascaded scenes when exporting by setting the export cascaded scene flag with a call to SetExportCascadedScenes function. SetExportCascadedScenes ( True ) Įxporter.

# This flag controls if cascaded scenes will be written or ignoredĮxporter.

SetEmbedReferences ( True ) # Some file formats support exporting cascaded scenes in the same file. SetPrimaryTexCoordName ( "tex0" ) # Some file formats that support embedding texture and other data in the main scene # file, this flag controls if such data will be embedded or written to separate filesĮxporter. SetExportFilePath ( fileName ) # For file formats that only supports a limited set of texture coordinate layers, # set the name of the primary layer to exportĮxporter.
