RendererVariableManager
Inheritance: java.lang.Object
public abstract class RendererVariableManager
此类管理渲染中使用的变量
方法
| 方法 | 描述 |
|---|---|
| equals(Object arg0) | |
| getCameraPosition() | 相机在世界坐标系中的位置 |
| getClass() | |
| getDepthBias() | 阴影映射的深度偏差,默认值为 0.001 |
| getMatrixLightSpace() | 光空间变换矩阵 |
| getMatrixProjection() | 投影变换矩阵 |
| getMatrixView() | 视图变换矩阵 |
| getMatrixViewProjection() | 视图和投影变换矩阵。 |
| getMatrixWorld() | 世界变换矩阵 |
| getMatrixWorldNormal() | 用于将法线从对象空间转换到世界空间的矩阵。 |
| getMatrixWorldViewProjection() | 用于世界视图和投影变换的矩阵 |
| getShadowCaster() | 阴影投射体在世界坐标系中的位置 |
| getShadowmap() | 用于阴影映射的深度纹理 |
| getViewportSize() | 视口的大小,以像素为单位 |
| getWorldAmbient() | 视口中定义的环境光颜色。 |
| getWorldTime() | 时间(秒) |
| hashCode() | |
| notify() | |
| notifyAll() | |
| setCameraPosition(FVector3 value) | 相机在世界坐标系中的位置 |
| setDepthBias(float value) | 阴影映射的深度偏差,默认值为 0.001 |
| setMatrixLightSpace(FMatrix4 value) | 光空间变换矩阵 |
| setMatrixProjection(FMatrix4 value) | 投影变换矩阵 |
| setMatrixView(FMatrix4 value) | 视图变换矩阵 |
| setShadowCaster(FVector3 value) | 阴影投射体在世界坐标系中的位置 |
| setShadowmap(ITextureUnit value) | 用于阴影映射的深度纹理 |
| setViewportSize(FVector2 value) | 视口的大小,以像素为单位 |
| setWorldAmbient(FVector3 value) | 视口中定义的环境光颜色。 |
| setWorldTime(float value) | 时间(秒) |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| arg0 | java.lang.Object |
Returns: 布尔
getCameraPosition()
public FVector3 getCameraPosition()
相机在世界坐标系中的位置
Returns: FVector3 - Camera’s position in world coordinate system
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getDepthBias()
public float getDepthBias()
阴影映射的深度偏差,默认值为 0.001
Returns: float - 阴影映射的深度偏差,默认值为 0.001
getMatrixLightSpace()
public FMatrix4 getMatrixLightSpace()
光空间变换矩阵
Returns: FMatrix4 - Matrix for light space transformation
getMatrixProjection()
public FMatrix4 getMatrixProjection()
投影变换矩阵
Returns: FMatrix4 - Matrix for projection transformation
getMatrixView()
public FMatrix4 getMatrixView()
视图变换矩阵
Returns: FMatrix4 - Matrix for view transformation
getMatrixViewProjection()
public FMatrix4 getMatrixViewProjection()
视图和投影变换矩阵。
Returns: FMatrix4 - Matrix for view and projection transformation.
getMatrixWorld()
public FMatrix4 getMatrixWorld()
世界变换矩阵
Returns: FMatrix4 - Matrix for world transformation
getMatrixWorldNormal()
public FMatrix4 getMatrixWorldNormal()
用于将法线从对象空间转换到世界空间的矩阵。
Returns: FMatrix4 - Matrix for converting normal from object to world space.
getMatrixWorldViewProjection()
public FMatrix4 getMatrixWorldViewProjection()
用于世界视图和投影变换的矩阵
Returns: FMatrix4 - Matrix for world view and projection transformation
getShadowCaster()
public FVector3 getShadowCaster()
阴影投射体在世界坐标系中的位置
Returns: FVector3 - Position of shadow caster in world coordinate system
getShadowmap()
public ITextureUnit getShadowmap()
用于阴影映射的深度纹理
Returns: ITextureUnit - The depth texture used for shadow mapping
getViewportSize()
public FVector2 getViewportSize()
视口的大小,以像素为单位
Returns: FVector2 - Size of viewport, measured in pixel
getWorldAmbient()
public FVector3 getWorldAmbient()
视口中定义的环境光颜色。
Returns: FVector3 - Ambient color defined in viewport.
getWorldTime()
public float getWorldTime()
时间(秒)
Returns: float - 时间(秒)
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setCameraPosition(FVector3 value)
public void setCameraPosition(FVector3 value)
相机在世界坐标系中的位置
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| value | FVector3 | 新值 |
setDepthBias(float value)
public void setDepthBias(float value)
阴影映射的深度偏差,默认值为 0.001
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| 值 | float | 新值 |
setMatrixLightSpace(FMatrix4 value)
public void setMatrixLightSpace(FMatrix4 value)
光空间变换矩阵
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| value | FMatrix4 | 新值 |
setMatrixProjection(FMatrix4 value)
public void setMatrixProjection(FMatrix4 value)
投影变换矩阵
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| value | FMatrix4 | 新值 |
setMatrixView(FMatrix4 value)
public void setMatrixView(FMatrix4 value)
视图变换矩阵
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| value | FMatrix4 | 新值 |
setShadowCaster(FVector3 value)
public void setShadowCaster(FVector3 value)
阴影投射体在世界坐标系中的位置
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| value | FVector3 | 新值 |
setShadowmap(ITextureUnit value)
public void setShadowmap(ITextureUnit value)
用于阴影映射的深度纹理
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| value | ITextureUnit | 新值 |
setViewportSize(FVector2 value)
public void setViewportSize(FVector2 value)
视口的大小,以像素为单位
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| value | FVector2 | 新值 |
setWorldAmbient(FVector3 value)
public void setWorldAmbient(FVector3 value)
视口中定义的环境光颜色。
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| value | FVector3 | 新值 |
setWorldTime(float value)
public void setWorldTime(float value)
时间(秒)
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| 值 | float | 新值 |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| arg0 | long | |
| arg1 | int |