Borrowed TVE Extras RGBA16F array and owning sampling controls. Channels are emissive, wetness, overlay and alpha. UV equals coords.zw plus coords.xy times world XZ, or the model pivot XZ when usePivotPosition is true. Usage selects the sampled layer when at least 0.5 and the stored value otherwise. 更多...
#include <PbrSurface.h>
Public 属性 | |
| Texture * | texture = nullptr |
| std::array< float, 9 > | usage {} |
| std::array< float, 4 > | fallback {1, 0, 0, 1} |
| std::array< float, 4 > | coords {1, 1, 0, 0} |
| uint32_t | layer = 0 |
| bool | usePivotPosition = false |
详细描述
Borrowed TVE Extras RGBA16F array and owning sampling controls. Channels are emissive, wetness, overlay and alpha. UV equals coords.zw plus coords.xy times world XZ, or the model pivot XZ when usePivotPosition is true. Usage selects the sampled layer when at least 0.5 and the stored value otherwise.
在文件 PbrSurface.h 第 122 行定义.
类成员变量说明
◆ coords
| std::array<float, 4> eve::graphics::PbrVegetationExtras::coords {1, 1, 0, 0} |
在文件 PbrSurface.h 第 126 行定义.
◆ fallback
| std::array<float, 4> eve::graphics::PbrVegetationExtras::fallback {1, 0, 0, 1} |
在文件 PbrSurface.h 第 125 行定义.
◆ layer
| uint32_t eve::graphics::PbrVegetationExtras::layer = 0 |
◆ texture
| Texture* eve::graphics::PbrVegetationExtras::texture = nullptr |
◆ usage
| std::array<float, 9> eve::graphics::PbrVegetationExtras::usage {} |
在文件 PbrSurface.h 第 124 行定义.
◆ usePivotPosition
| bool eve::graphics::PbrVegetationExtras::usePivotPosition = false |
在文件 PbrSurface.h 第 128 行定义.
该结构体的文档由以下文件生成:
- src/modules/graphics/PbrSurface.h