ImageRenderOptions

Inheritance: java.lang.Object, com.aspose.threed.A3DObject

public class ImageRenderOptions extends A3DObject

用于 SceneScene 的选项

构造函数

构造函数描述
ImageRenderOptions()初始化 ImageRenderOptions 的实例

方法

方法描述
equals(Object arg0)
findProperty(String propertyName)查找属性。
getAssetDirectories()存储外部资源(如纹理)的目录
getBackgroundColor()渲染结果的背景颜色。
getClass()
getEnableShadows()获取是否渲染阴影。
getName()获取名称。
getProperties()获取所有属性的集合。
getProperty(String property)获取指定属性的值
hashCode()
notify()
notifyAll()
removeProperty(Property property)移除动态属性。
removeProperty(String property)移除通过名称标识的指定属性
setAssetDirectories(ArrayList value)存储外部资源(如纹理)的目录
setBackgroundColor(Vector3 value)渲染结果的背景颜色。
setEnableShadows(boolean value)设置是否渲染阴影。
setName(String value)设置名称。
setProperty(String property, Object value)设置指定属性的值
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

ImageRenderOptions()

public ImageRenderOptions()

初始化 ImageRenderOptions 的实例

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

参数类型描述
arg0java.lang.Object

Returns: 布尔

findProperty(String propertyName)

public Property findProperty(String propertyName)

查找属性。它可以是动态属性(由 CreateDynamicProperty/SetProperty 创建)或本机属性(通过其名称标识)

Parameters:

参数类型描述
propertyNamejava.lang.String属性名称。

Returns: Property - The property.

getAssetDirectories()

public ArrayList<String> getAssetDirectories()

存储外部资源(如纹理)的目录

Returns: java.util.ArrayList<java.lang.String> - 存储外部资源(如纹理)的目录

getBackgroundColor()

public Vector3 getBackgroundColor()

渲染结果的背景颜色。

Returns: Vector3 - The background color of the render result.

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getEnableShadows()

public boolean getEnableShadows()

获取是否渲染阴影。

Returns: boolean - 是否渲染阴影。

getName()

public String getName()

获取名称。

Returns: java.lang.String - 名称。

getProperties()

public PropertyCollection getProperties()

获取所有属性的集合。

Returns: PropertyCollection - the collection of all properties.

getProperty(String property)

public Object getProperty(String property)

获取指定属性的值

Parameters:

参数类型描述
属性java.lang.String属性名称

Returns: java.lang.Object - 找到的属性的值

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

removeProperty(Property property)

public boolean removeProperty(Property property)

移除动态属性。

Parameters:

参数类型描述
propertyProperty要删除哪个属性

Returns: boolean - 如果属性成功删除则为 true

removeProperty(String property)

public boolean removeProperty(String property)

移除通过名称标识的指定属性

Parameters:

参数类型描述
属性java.lang.String要删除哪个属性

Returns: boolean - 如果属性成功删除则为 true

setAssetDirectories(ArrayList value)

public void setAssetDirectories(ArrayList<String> value)

存储外部资源(如纹理)的目录

Parameters:

参数类型描述
java.util.ArrayList<java.lang.String>新值

setBackgroundColor(Vector3 value)

public void setBackgroundColor(Vector3 value)

渲染结果的背景颜色。

Parameters:

参数类型描述
valueVector3新值

setEnableShadows(boolean value)

public void setEnableShadows(boolean value)

设置是否渲染阴影。

Parameters:

参数类型描述
布尔新值

setName(String value)

public void setName(String value)

设置名称。

Parameters:

参数类型描述
java.lang.String新值

setProperty(String property, Object value)

public void setProperty(String property, Object value)

设置指定属性的值

Parameters:

参数类型描述
属性java.lang.String属性名称
java.lang.Object属性的值

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

参数类型描述
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

参数类型描述
arg0long
arg1int