载入中...
搜索中...
未找到
eve::procgen::GtsSnowSurfaceSettings结构体 参考

GTS snow albedo controls copied from GTSSnowSettings. 更多...

#include <TerrainImageAdapter.h>

Public 成员函数

void setMaskRemapMin (float r, float g, float b, float a)
 Set finite packed snow-mask remap minima in RGBA order.
 
void setMaskRemapMax (float r, float g, float b, float a)
 Set finite packed snow-mask remap maxima in RGBA order.
 

Public 属性

bool enabled = false
 
float power = 1
 
float minimumHeight = 100
 
float blendRange = 20
 
float slopeBlend = 20
 
float age = 0
 
float scale = 1
 
float colorR = 1
 
float colorG = 1
 
float colorB = 1
 
float normalStrength = 3
 
std::array< float, 4 > maskRemapMin {0, 0, 0, 0}
 
std::array< float, 4 > maskRemapMax {1, 1, 3, 1}
 
float heightContrast = 1
 
float heightBrightness = 1
 
float heightIncrease = 0
 
float displacementContrast = 1
 
float displacementBrightness = 0.4F
 
float displacementIncrease = 0.1F
 
float tessellationAmount = 25
 

详细描述

GTS snow albedo controls copied from GTSSnowSettings.

在文件 TerrainImageAdapter.h 第 18 行定义.

成员函数说明

◆ setMaskRemapMax()

void eve::procgen::GtsSnowSurfaceSettings::setMaskRemapMax ( float  r,
float  g,
float  b,
float  a 
)
inline

Set finite packed snow-mask remap maxima in RGBA order.

在文件 TerrainImageAdapter.h 第 30 行定义.

引用了 a, b, g, maskRemapMax , 以及 r.

被这些函数引用 eve::procgen::exposeTerrainImageAdapter().

◆ setMaskRemapMin()

void eve::procgen::GtsSnowSurfaceSettings::setMaskRemapMin ( float  r,
float  g,
float  b,
float  a 
)
inline

Set finite packed snow-mask remap minima in RGBA order.

在文件 TerrainImageAdapter.h 第 28 行定义.

引用了 a, b, g, maskRemapMin , 以及 r.

被这些函数引用 eve::procgen::exposeTerrainImageAdapter().

类成员变量说明

◆ age

float eve::procgen::GtsSnowSurfaceSettings::age = 0

◆ blendRange

float eve::procgen::GtsSnowSurfaceSettings::blendRange = 20

◆ colorB

float eve::procgen::GtsSnowSurfaceSettings::colorB = 1

◆ colorG

float eve::procgen::GtsSnowSurfaceSettings::colorG = 1

◆ colorR

float eve::procgen::GtsSnowSurfaceSettings::colorR = 1

◆ displacementBrightness

float eve::procgen::GtsSnowSurfaceSettings::displacementBrightness = 0.4F

◆ displacementContrast

float eve::procgen::GtsSnowSurfaceSettings::displacementContrast = 1

◆ displacementIncrease

float eve::procgen::GtsSnowSurfaceSettings::displacementIncrease = 0.1F

◆ enabled

bool eve::procgen::GtsSnowSurfaceSettings::enabled = false

◆ heightBrightness

float eve::procgen::GtsSnowSurfaceSettings::heightBrightness = 1

◆ heightContrast

float eve::procgen::GtsSnowSurfaceSettings::heightContrast = 1

◆ heightIncrease

float eve::procgen::GtsSnowSurfaceSettings::heightIncrease = 0

◆ maskRemapMax

std::array<float, 4> eve::procgen::GtsSnowSurfaceSettings::maskRemapMax {1, 1, 3, 1}

在文件 TerrainImageAdapter.h 第 23 行定义.

被这些函数引用 eve::procgen::bakeGtsWeatherPbr() , 以及 setMaskRemapMax().

◆ maskRemapMin

std::array<float, 4> eve::procgen::GtsSnowSurfaceSettings::maskRemapMin {0, 0, 0, 0}

在文件 TerrainImageAdapter.h 第 23 行定义.

被这些函数引用 eve::procgen::bakeGtsWeatherPbr() , 以及 setMaskRemapMin().

◆ minimumHeight

float eve::procgen::GtsSnowSurfaceSettings::minimumHeight = 100

◆ normalStrength

float eve::procgen::GtsSnowSurfaceSettings::normalStrength = 3

◆ power

float eve::procgen::GtsSnowSurfaceSettings::power = 1

◆ scale

float eve::procgen::GtsSnowSurfaceSettings::scale = 1

◆ slopeBlend

float eve::procgen::GtsSnowSurfaceSettings::slopeBlend = 20

◆ tessellationAmount

float eve::procgen::GtsSnowSurfaceSettings::tessellationAmount = 25

该结构体的文档由以下文件生成: