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

Owning element definition; no scene, texture or entity pointers survive admission. Center/extents are world units; yaw is radians around +Y. Layer bits select 0..8. Mask alpha multiplies opacity and mask RGB multiplies the target RGB. Equal priorities preserve input order. Seasons interpolate winter/spring/summer/autumn. 更多...

#include <VegetationField.h>

Public 属性

VegetationChannel channel = VegetationChannel::Color
 
VegetationBlend blend = VegetationBlend::Replace
 
VegetationShape shape = VegetationShape::Ellipsoid
 
glm::vec3 center {0.f}
 
glm::vec3 extents {1.f}
 
float yaw = 0.f
 
float opacity = 1.f
 
float edgeFade = 0.25f
 
uint16_t layers = 1
 
int priority = 0
 
glm::vec4 value {1.f}
 
bool seasonal = false
 
std::array< glm::vec4, 4 > seasons {glm::vec4(1.f), glm::vec4(1.f), glm::vec4(1.f), glm::vec4(1.f)}
 
VegetationMask mask
 

详细描述

Owning element definition; no scene, texture or entity pointers survive admission. Center/extents are world units; yaw is radians around +Y. Layer bits select 0..8. Mask alpha multiplies opacity and mask RGB multiplies the target RGB. Equal priorities preserve input order. Seasons interpolate winter/spring/summer/autumn.

在文件 VegetationField.h 第 33 行定义.

类成员变量说明

◆ blend

VegetationBlend eve::graphics::VegetationElement::blend = VegetationBlend::Replace

在文件 VegetationField.h 第 35 行定义.

◆ center

glm::vec3 eve::graphics::VegetationElement::center {0.f}

在文件 VegetationField.h 第 37 行定义.

◆ channel

VegetationChannel eve::graphics::VegetationElement::channel = VegetationChannel::Color

在文件 VegetationField.h 第 34 行定义.

被这些函数引用 eve::graphics::VegetationField::restore().

◆ edgeFade

float eve::graphics::VegetationElement::edgeFade = 0.25f

在文件 VegetationField.h 第 38 行定义.

◆ extents

glm::vec3 eve::graphics::VegetationElement::extents {1.f}

在文件 VegetationField.h 第 37 行定义.

◆ layers

uint16_t eve::graphics::VegetationElement::layers = 1

在文件 VegetationField.h 第 39 行定义.

◆ mask

VegetationMask eve::graphics::VegetationElement::mask

在文件 VegetationField.h 第 44 行定义.

◆ opacity

float eve::graphics::VegetationElement::opacity = 1.f

在文件 VegetationField.h 第 38 行定义.

◆ priority

int eve::graphics::VegetationElement::priority = 0

在文件 VegetationField.h 第 40 行定义.

◆ seasonal

bool eve::graphics::VegetationElement::seasonal = false

在文件 VegetationField.h 第 42 行定义.

◆ seasons

std::array<glm::vec4, 4> eve::graphics::VegetationElement::seasons {glm::vec4(1.f), glm::vec4(1.f), glm::vec4(1.f), glm::vec4(1.f)}

在文件 VegetationField.h 第 43 行定义.

◆ shape

VegetationShape eve::graphics::VegetationElement::shape = VegetationShape::Ellipsoid

在文件 VegetationField.h 第 36 行定义.

◆ value

glm::vec4 eve::graphics::VegetationElement::value {1.f}

在文件 VegetationField.h 第 41 行定义.

◆ yaw

float eve::graphics::VegetationElement::yaw = 0.f

在文件 VegetationField.h 第 38 行定义.


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