U3dSaveOptions
Inheritance: java.lang.Object, com.aspose.threed.IOConfig, com.aspose.threed.SaveOptions
public class U3dSaveOptions extends SaveOptions
Save options for universal 3d
Constructors
Constructor | Description |
---|---|
U3dSaveOptions() | Constructor of U3dSaveOptions |
Methods
Method | Description |
---|---|
equals(Object arg0) | |
getClass() | |
getEmbedTextures() | Embed the external textures into the U3D file, default value is false. |
getEncoding() | Gets the default encoding for text-based files. |
getExportNormals() | Gets whether to export normal data. |
getExportTextureCoordinates() | Gets whether to export texture coordinates. |
getExportTextures() | Try to copy textures used in scene to output directory. |
getExportVertexDiffuse() | Gets whether to export vertex’s diffuse color. |
getExportVertexSpecular() | Gets whether to export vertex’ specular color. |
getFileFormat() | Gets the file format that specified in current Save/Load option. |
getFileName() | The file name of the exporting/importing scene. |
getFileSystem() | Allow user to handle how to manage the external dependencies during load/save. |
getFileSystemFactory() | Gets the factory class for FileSystem. |
getFlipCoordinateSystem() | Gets whether flip coordinate system of control points/normal during importing/exporting. |
getLookupPaths() | Some files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load. |
getMeshCompression() | Gets whether to enable mesh data compression. |
hashCode() | |
notify() | |
notifyAll() | |
setEmbedTextures(boolean value) | Embed the external textures into the U3D file, default value is false. |
setEncoding(Charset value) | Sets the default encoding for text-based files. |
setExportNormals(boolean value) | Sets whether to export normal data. |
setExportTextureCoordinates(boolean value) | Sets whether to export texture coordinates. |
setExportTextures(boolean value) | Try to copy textures used in scene to output directory. |
setExportVertexDiffuse(boolean value) | Sets whether to export vertex’s diffuse color. |
setExportVertexSpecular(boolean value) | Sets whether to export vertex’ specular color. |
setFileName(String value) | The file name of the exporting/importing scene. |
setFileSystem(FileSystem value) | Allow user to handle how to manage the external dependencies during load/save. |
setFileSystemFactory(FileSystemFactory value) | Sets the factory class for FileSystem. |
setFlipCoordinateSystem(boolean value) | Sets whether flip coordinate system of control points/normal during importing/exporting. |
setLookupPaths(ArrayList | Some files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load. |
setMeshCompression(boolean value) | Sets whether to enable mesh data compression. |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
U3dSaveOptions()
public U3dSaveOptions()
Constructor of U3dSaveOptions
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getEmbedTextures()
public boolean getEmbedTextures()
Embed the external textures into the U3D file, default value is false.
Returns: boolean
getEncoding()
public Charset getEncoding()
Gets the default encoding for text-based files. Default value is null which means the importer/exporter will decide which encoding to use.
Returns: java.nio.charset.Charset
getExportNormals()
public boolean getExportNormals()
Gets whether to export normal data.
Returns: boolean
getExportTextureCoordinates()
public boolean getExportTextureCoordinates()
Gets whether to export texture coordinates.
Returns: boolean
getExportTextures()
public boolean getExportTextures()
Try to copy textures used in scene to output directory.
Returns: boolean
getExportVertexDiffuse()
public boolean getExportVertexDiffuse()
Gets whether to export vertex’s diffuse color.
Returns: boolean
getExportVertexSpecular()
public boolean getExportVertexSpecular()
Gets whether to export vertex’ specular color.
Returns: boolean
getFileFormat()
public FileFormat getFileFormat()
Gets the file format that specified in current Save/Load option.
Returns: FileFormat
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.
Returns: java.lang.String
getFileSystem()
public FileSystem getFileSystem()
Allow user to handle how to manage the external dependencies during load/save.
Returns: FileSystem
getFileSystemFactory()
public static FileSystemFactory getFileSystemFactory()
Gets the factory class for FileSystem. The default factory will create LocalFileSystem which is not suitable for server environment.
Returns: FileSystemFactory
getFlipCoordinateSystem()
public boolean getFlipCoordinateSystem()
Gets whether flip coordinate system of control points/normal during importing/exporting.
Returns: boolean
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.
Returns: java.util.ArrayList<java.lang.String>
getMeshCompression()
public boolean getMeshCompression()
Gets whether to enable mesh data compression.
Returns: boolean
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setEmbedTextures(boolean value)
public void setEmbedTextures(boolean value)
Embed the external textures into the U3D file, default value is false.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | New value |
setEncoding(Charset value)
public void setEncoding(Charset value)
Sets the default encoding for text-based files. Default value is null which means the importer/exporter will decide which encoding to use.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.nio.charset.Charset | New value |
setExportNormals(boolean value)
public void setExportNormals(boolean value)
Sets whether to export normal data.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | New value |
setExportTextureCoordinates(boolean value)
public void setExportTextureCoordinates(boolean value)
Sets whether to export texture coordinates.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | New value |
setExportTextures(boolean value)
public void setExportTextures(boolean value)
Try to copy textures used in scene to output directory.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | New value |
setExportVertexDiffuse(boolean value)
public void setExportVertexDiffuse(boolean value)
Sets whether to export vertex’s diffuse color.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | New value |
setExportVertexSpecular(boolean value)
public void setExportVertexSpecular(boolean value)
Sets whether to export vertex’ specular color.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | New value |
setFileName(String value)
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:
Parameter | Type | Description |
---|---|---|
value | java.lang.String | New value |
setFileSystem(FileSystem value)
public void setFileSystem(FileSystem value)
Allow user to handle how to manage the external dependencies during load/save.
Parameters:
Parameter | Type | Description |
---|---|---|
value | FileSystem | New value |
setFileSystemFactory(FileSystemFactory value)
public static void setFileSystemFactory(FileSystemFactory value)
Sets the factory class for FileSystem. The default factory will create LocalFileSystem which is not suitable for server environment.
Parameters:
Parameter | Type | Description |
---|---|---|
value | FileSystemFactory | New value |
setFlipCoordinateSystem(boolean value)
public void setFlipCoordinateSystem(boolean value)
Sets whether flip coordinate system of control points/normal during importing/exporting.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | New value |
setLookupPaths(ArrayList value)
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:
Parameter | Type | Description |
---|---|---|
value | java.util.ArrayList<java.lang.String> | New value |
setMeshCompression(boolean value)
public void setMeshCompression(boolean value)
Sets whether to enable mesh data compression.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | New value |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |