com.aspose.threed

Interfaces

Classes

Enums

Exceptions

com.aspose.threed

Class IOConfig

  • Direct Known Subclasses:
    LoadOptions, SaveOptions


    public class IOConfig
    extends Object
    IO config for serialization/deserialization. User can specify detailed configurations like dependency look-up path Or format-related configs here
    • Method Detail

      • getFileSystem

        public FileSystem getFileSystem()
        Allow user to handle how to manage the external dependencies during load/save.
      • setFileSystem

        public void setFileSystem(FileSystem value)
        Allow user to handle how to manage the external dependencies during load/save.
        Parameters:
        value - New value
      • getLookupPaths

        public ArrayList<String> getLookupPaths()
        Some files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load.
      • setLookupPaths

        public void setLookupPaths(ArrayList<String> value)
        Some files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load.
        Parameters:
        value - New value
      • getFileName

        public String getFileName()
        The file name of the exporting/importing scene. This is optional, but useful when serialize external assets like OBJ's material.
      • setFileName

        public void setFileName(String value)
        The file name of the exporting/importing scene. This is optional, but useful when serialize external assets like OBJ's material.
        Parameters:
        value - New value
      • lookupForFile

        protected String lookupForFile(String fileName,
                                       String alternativeFile)
        Look up for file in given lookup paths User can override this to provide more customized file lookup mechanisms.
        Parameters:
        fileName - File name to look up
        alternativeFile - If the file cannot be found, return this
        Returns:
        The for file.