# class SceneExporter

Class for saving scene data to different file formats depending on the extension of the set file name.

# Properties

Property Description
EmbedReferences Flag to control if output file formats that support embedding referenced resources (like textures) should do so.
ExportFilePath The main export file path. This must always be set.
PrimaryTexCoordName The primary texture coordinate layer name. Used by file formats that only support one texture coordinate layer (like .obj)

# Methods

Method Description
Clear Close any open file or stream, release any allocated data.
GetClass Get the name of the SceneExporter class.
IsA Returns true if SceneExporter is a or is a descendant of the class named as the type parameter.
IsNull Returns true if the SceneExporter object is invalid.
RunExport Runs the export. Note that all parameters must be setup before importing.
SetScene The scene to export.

# Static methods

Method Description
IsClassA Returns true if the class is a or is a descendant of the class named as the type parameter.
SafeCast SafeCast makes sure the input object is of a class that can be cast into spSceneExporter, and if this is the case, returns the object cast into spSceneExporter.

# Properties details

# EmbedReferences

Flag to control if output file formats that support embedding referenced resources (like textures) should do so.

    # ExportFilePath

    The main export file path. This must always be set.

      # PrimaryTexCoordName

      The primary texture coordinate layer name. Used by file formats that only support one texture coordinate layer (like .obj)

        # Methods details

        # Clear

        Close any open file or stream, release any allocated data.

          # GetClass

          Get the name of the SceneExporter class.

            # IsA

            Returns true if SceneExporter is a or is a descendant of the class named as the type parameter.

              # IsNull

              Returns true if the SceneExporter object is invalid.

                # RunExport

                Runs the export. Note that all parameters must be setup before importing.

                  # SetScene

                  The scene to export.

                    # Static methods details

                    # IsClassA

                    Returns true if the class is a or is a descendant of the class named as the type parameter.

                      # SafeCast

                      SafeCast makes sure the input object is of a class that can be cast into spSceneExporter, and if this is the case, returns the object cast into spSceneExporter.