RendererVariableManager
概述
RendererVariableManager 是 Aspose.3D FOSS 中用于 .NET 的类。
此类管理用于渲染的变量
属性:CameraPosition、DepthBias、MatrixLightSpace、MatrixProjection、MatrixView、MatrixViewProjection,以及另外 8 项。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
WorldTime | float | 读取 | 时间(秒) |
ShadowCaster | FVector3 | 读写 | 阴影投射体在世界坐标系中的位置 |
Shadowmap | ITextureUnit | 读写 | 用于阴影映射的深度纹理 |
MatrixLightSpace | FMatrix4 | 读写 | 光空间变换矩阵 |
MatrixViewProjection | FMatrix4 | 读取 | 视图与投影变换矩阵. |
MatrixWorldViewProjection | FMatrix4 | 读取 | 用于世界视图和投影变换的矩阵 |
MatrixWorld | FMatrix4 | 读取 | 用于世界变换的矩阵 |
MatrixWorldNormal | FMatrix4 | 读取 | 用于将法线从对象空间转换到世界空间的矩阵。 |
MatrixProjection | FMatrix4 | 读写 | 投影变换矩阵 |
MatrixView | FMatrix4 | 读写 | 视图变换矩阵 |
CameraPosition | FVector3 | 读写 | 相机在世界坐标系中的位置 |
DepthBias | float | 读写 | 阴影映射的深度偏差,默认值为 0.001 |
ViewportSize | FVector2 | 读取 | 视口的大小,以像素为单位 |
WorldAmbient | FVector3 | 读取 | 在视口中定义的环境颜色。 |