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

Borrowed TVE Motion atlas/noise and owning explicit object-motion controls. Object mode requires an unskinned Mesh nine-float vegetation-deformation stream. Motion sampling uses the authored pivot, while repeat-addressed noise varies over each vertex's world position. Time and all controls are caller-owned snapshots; the renderer reads no clock or mutable global shader state. 更多...

#include <PbrSurface.h>

Public 属性

Texture * texture = nullptr
 
Texture * noise = nullptr
 
std::array< float, 9 > usage {}
 
std::array< float, 4 > fallback {1, 0, .5f, 0}
 
std::array< float, 4 > coords {1, 1, 0, 0}
 
std::array< float, 2 > globalDirection {1, 0}
 
std::array< float, 3 > worldOrigin {0, 0, 0}
 
double time = 0
 
float dynamicMode = 0
 
float rigidity = .5f
 
float facing = .5f
 
float bending = .2f
 
float bendingSpeed = 2
 
float bendingScale = 1
 
float bendingVariation = 0
 
float branch = .2f
 
float rolling = .2f
 
float branchSpeed = 6
 
float branchScale = 3
 
float branchVariation = 0
 
float flutter = .2f
 
float flutterSpeed = 20
 
float flutterScale = 10
 
float flutterVariation = 0
 
float globalBending = 1
 
float globalBranch = 1
 
float globalFlutter = 1
 
float noiseTiling = 1
 
float interaction = 1
 
float interactionMask = 1
 
float fadeDistance = 100
 
float perspectivePush = 0
 
float perspectiveNoise = 0
 
float perspectiveAngle = 1
 
uint32_t layer = 0
 
PbrVegetationMotionMode mode = PbrVegetationMotionMode::Disabled
 

详细描述

Borrowed TVE Motion atlas/noise and owning explicit object-motion controls. Object mode requires an unskinned Mesh nine-float vegetation-deformation stream. Motion sampling uses the authored pivot, while repeat-addressed noise varies over each vertex's world position. Time and all controls are caller-owned snapshots; the renderer reads no clock or mutable global shader state.

在文件 PbrSurface.h 第 171 行定义.

类成员变量说明

◆ bending

float eve::graphics::PbrVegetationMotion::bending = .2f

在文件 PbrSurface.h 第 180 行定义.

◆ bendingScale

float eve::graphics::PbrVegetationMotion::bendingScale = 1

在文件 PbrSurface.h 第 180 行定义.

◆ bendingSpeed

float eve::graphics::PbrVegetationMotion::bendingSpeed = 2

在文件 PbrSurface.h 第 180 行定义.

◆ bendingVariation

float eve::graphics::PbrVegetationMotion::bendingVariation = 0

在文件 PbrSurface.h 第 180 行定义.

◆ branch

float eve::graphics::PbrVegetationMotion::branch = .2f

在文件 PbrSurface.h 第 181 行定义.

◆ branchScale

float eve::graphics::PbrVegetationMotion::branchScale = 3

在文件 PbrSurface.h 第 181 行定义.

◆ branchSpeed

float eve::graphics::PbrVegetationMotion::branchSpeed = 6

在文件 PbrSurface.h 第 181 行定义.

◆ branchVariation

float eve::graphics::PbrVegetationMotion::branchVariation = 0

在文件 PbrSurface.h 第 181 行定义.

◆ coords

std::array<float, 4> eve::graphics::PbrVegetationMotion::coords {1, 1, 0, 0}

在文件 PbrSurface.h 第 175 行定义.

◆ dynamicMode

float eve::graphics::PbrVegetationMotion::dynamicMode = 0

在文件 PbrSurface.h 第 179 行定义.

◆ facing

float eve::graphics::PbrVegetationMotion::facing = .5f

在文件 PbrSurface.h 第 179 行定义.

◆ fadeDistance

float eve::graphics::PbrVegetationMotion::fadeDistance = 100

在文件 PbrSurface.h 第 184 行定义.

◆ fallback

std::array<float, 4> eve::graphics::PbrVegetationMotion::fallback {1, 0, .5f, 0}

在文件 PbrSurface.h 第 175 行定义.

◆ flutter

float eve::graphics::PbrVegetationMotion::flutter = .2f

在文件 PbrSurface.h 第 182 行定义.

◆ flutterScale

float eve::graphics::PbrVegetationMotion::flutterScale = 10

在文件 PbrSurface.h 第 182 行定义.

◆ flutterSpeed

float eve::graphics::PbrVegetationMotion::flutterSpeed = 20

在文件 PbrSurface.h 第 182 行定义.

◆ flutterVariation

float eve::graphics::PbrVegetationMotion::flutterVariation = 0

在文件 PbrSurface.h 第 182 行定义.

◆ globalBending

float eve::graphics::PbrVegetationMotion::globalBending = 1

在文件 PbrSurface.h 第 183 行定义.

◆ globalBranch

float eve::graphics::PbrVegetationMotion::globalBranch = 1

在文件 PbrSurface.h 第 183 行定义.

◆ globalDirection

std::array<float, 2> eve::graphics::PbrVegetationMotion::globalDirection {1, 0}

在文件 PbrSurface.h 第 176 行定义.

◆ globalFlutter

float eve::graphics::PbrVegetationMotion::globalFlutter = 1

在文件 PbrSurface.h 第 183 行定义.

◆ interaction

float eve::graphics::PbrVegetationMotion::interaction = 1

在文件 PbrSurface.h 第 184 行定义.

◆ interactionMask

float eve::graphics::PbrVegetationMotion::interactionMask = 1

在文件 PbrSurface.h 第 184 行定义.

◆ layer

uint32_t eve::graphics::PbrVegetationMotion::layer = 0

◆ mode

PbrVegetationMotionMode eve::graphics::PbrVegetationMotion::mode = PbrVegetationMotionMode::Disabled

◆ noise

Texture* eve::graphics::PbrVegetationMotion::noise = nullptr

◆ noiseTiling

float eve::graphics::PbrVegetationMotion::noiseTiling = 1

在文件 PbrSurface.h 第 183 行定义.

◆ perspectiveAngle

float eve::graphics::PbrVegetationMotion::perspectiveAngle = 1

在文件 PbrSurface.h 第 185 行定义.

◆ perspectiveNoise

float eve::graphics::PbrVegetationMotion::perspectiveNoise = 0

在文件 PbrSurface.h 第 185 行定义.

◆ perspectivePush

float eve::graphics::PbrVegetationMotion::perspectivePush = 0

在文件 PbrSurface.h 第 185 行定义.

◆ rigidity

float eve::graphics::PbrVegetationMotion::rigidity = .5f

在文件 PbrSurface.h 第 179 行定义.

◆ rolling

float eve::graphics::PbrVegetationMotion::rolling = .2f

在文件 PbrSurface.h 第 181 行定义.

◆ texture

◆ time

double eve::graphics::PbrVegetationMotion::time = 0

在文件 PbrSurface.h 第 178 行定义.

被这些函数引用 eve::graphics::Material::setFoliageWindTime().

◆ usage

std::array<float, 9> eve::graphics::PbrVegetationMotion::usage {}

在文件 PbrSurface.h 第 174 行定义.

◆ worldOrigin

std::array<float, 3> eve::graphics::PbrVegetationMotion::worldOrigin {0, 0, 0}

在文件 PbrSurface.h 第 177 行定义.


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