ImageRenderOptions

ImageRenderOptions class

Options for Scene.render(com.aspose.threed.Camera, java.lang.String, com.aspose.threed.Vector2, java.lang.String, com.aspose.threed.ImageRenderOptions) and Scene.render(com.aspose.threed.Camera, com.aspose.threed.TextureData, com.aspose.threed.ImageRenderOptions)

Methods

constructor

NameDescription
constructor()Initialize an instance of ImageRenderOptions

Result:


getBackgroundColor

NameDescription
getBackgroundColor()The background color of the render result.

Result:


setBackgroundColor

NameDescription
setBackgroundColor(value)The background color of the render result.

Result:


getAssetDirectories

NameDescription
getAssetDirectories()Directories that stored external assets(like textures)

Result:


getEnableShadows

NameDescription
getEnableShadows()Gets or sets whether to render shadows.

Result:


setEnableShadows

NameDescription
setEnableShadows(value)Gets or sets whether to render shadows.

Result:


getName

NameDescription
getName()Gets or sets the name. The name.

Result:


setName

NameDescription
setName(value)Gets or sets the name. The name.

Result:


getProperties

NameDescription
getProperties()Gets the collection of all properties.

Result:


removeProperty

NameDescription
removeProperty(property)Removes a dynamic property.

Parameters:

NameTypeDescription
propertyPropertyWhich property to remove

Result: boolean


removeProperty

NameDescription
removeProperty(property)Remove the specified property identified by name

Parameters:

NameTypeDescription
propertStringnull

Result: boolean


getProperty

NameDescription
getProperty(property)Get the value of specified property

Parameters:

NameTypeDescription
propertyStringProperty name

Result: Object


setProperty

NameDescription
setProperty(property, value)Sets the value of specified property

Parameters:

NameTypeDescription
propertyStringProperty name
valueObjectThe value of the property

Result: Object


findProperty

NameDescription
findProperty(propertyName)Finds the property. It can be a dynamic property (Created by CreateDynamicProperty/SetProperty) or native property(Identified by its name)

Parameters:

NameTypeDescription
propertyNameStringProperty name.

Result: Property