ImageRenderOptions
Overview
ImageRenderOptions is a class in Aspose.3D FOSS for Java.
Inherits from: SaveOptions.
The ImageRenderOptions class enables developers to render scenes to image files with configurable background color, shadow support, and output file format.
This class provides 24 methods for working with ImageRenderOptions objects in Java programs.
Available methods include: ImageRenderOptions, SaveOptions, getAssetDirectories, getBackgroundColor, getEncoding, getExportTextures, getFileFormat, getFileName, getFileSystem, getFileSystemFactory, getLookupPaths, getName, and 10 additional methods.
All public members are accessible to any Java application after installing the Aspose.3D FOSS for Java package.
Properties: assetDirectories, backgroundColor, enableShadows, encoding, exportTextures, fileFormat, and 5 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
backgroundColor | Vector3 | Read | Gets the background color. |
assetDirectories | List<String> | Read | Gets the asset directories. |
enableShadows | boolean | Read | Gets the enable shadows. |
name | String | Read | Gets the name. |
exportTextures | boolean | Read | Try to copy textures used in scene to output directory. |
fileFormat | FileFormat | Read | Gets the file format. |
fileSystemFactory | FileSystemFactory | Read | Gets the factory class for FileSystem. |
encoding | java.nio.charset.Charset | Read | Gets the default encoding for text-based files. |
fileSystem | FileSystem | Read | Allow user to handle how to manage the external dependencies during load/save. |
lookupPaths | java.util.ArrayList<String> | Read | Some files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load. |
fileName | String | Read | The file name of the exporting/importing scene. |
Methods
| Signature | Description |
|---|---|
ImageRenderOptions() | Calls ImageRenderOptions on this ImageRenderOptions instance. |
getBackgroundColor() → Vector3 | Returns the background color. |
setBackgroundColor(value: Vector3) | Sets the background color value. |
getAssetDirectories() → List<String> | Returns the asset directories. |
isEnableShadows() → boolean | Returns true if enable shadows is set. |
setEnableShadows(value: boolean) | Sets the enable shadows value. |
getName() → String | Returns the name. |
setName(value: String) | Sets the name value. |
SaveOptions() | Initializes a new instance of the SaveOptions class. |
SaveOptions(format: FileFormat) | Initializes a new instance of the SaveOptions class with a file format. |
SaveOptions(contentType: FileContentType) | Initializes a new instance of the SaveOptions class with a file content type. |
getExportTextures() → boolean | Try to copy textures used in scene to output directory. |
setExportTextures(value: boolean) | Try to copy textures used in scene to output directory. |
getFileFormat() → FileFormat | Returns the file format. |
getFileSystemFactory() → FileSystemFactory | Gets the factory class for FileSystem. |
setFileSystemFactory(value: FileSystemFactory) | Sets the factory class for FileSystem. |
getEncoding() → java.nio.charset.Charset | Gets the default encoding for text-based files. |
setEncoding(value: java.nio.charset.Charset) | Sets the default encoding for text-based files. |
getFileSystem() → FileSystem | Allow user to handle how to manage the external dependencies during load/save. |
setFileSystem(value: FileSystem) | Allow user to handle how to manage the external dependencies during load/save. |
getLookupPaths() → java.util.ArrayList<String> | Some files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load. |
setLookupPaths(value: java.util.ArrayList<String>) | Some files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load. |
getFileName() → String | The file name of the exporting/importing scene. |
setFileName(value: String) | The file name of the exporting/importing scene. |