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

Source-equivalent plant motion parameters with explicit time and texture inputs. All data is owned. No wall clock/RNG/global shader state is read. Noise is linear RGBA with bilinear repeat addressing. The built-in 2x2 pattern is a native default; matching an authored appearance requires the same noise texture as the source. Speed/scale/amplitude controls retain TVE 12.6 plant shader units. Object transforms must be finite, affine and invertible. Output geometry is world space. 更多...

#include <VegetationMotion.h>

Public 属性

double time = 0.
 
double timeScale = 1.
 
double timeOffset = 0.
 
float timeOverride = 0.f
 
glm::mat4 objectToWorld {1.f}
 
glm::vec3 camera {0.f}
 
glm::vec3 worldOrigin {0.f}
 
VegetationBatchMode batchMode = VegetationBatchMode::Object
 
bool usePivots = true
 
float dynamicMode = 0.f
 
float rigidity = 0.5f
 
float facing = 0.5f
 
float bending = 0.2f
 
float bendingSpeed = 2.f
 
float bendingScale = 1.f
 
float bendingVariation = 0.f
 
float branch = 0.2f
 
float rolling = 0.2f
 
float branchSpeed = 6.f
 
float branchScale = 3.f
 
float branchVariation = 0.f
 
float flutter = 0.2f
 
float flutterSpeed = 20.f
 
float flutterScale = 10.f
 
float flutterVariation = 0.f
 
float globalBending = 1.f
 
float globalBranch = 1.f
 
float globalFlutter = 1.f
 
float noiseTiling = 1.f
 
float interaction = 1.f
 
float interactionMask = 1.f
 
float fadeDistance = 100.f
 
float globalSize = 1.f
 
float sizeFadeStart = 1000000.f
 
float sizeFadeEnd = 1000001.f
 
float distanceFadeBias = 1.f
 
float perspectivePush = 0.f
 
float perspectiveNoise = 0.f
 
float perspectiveAngle = 1.f
 
uint8_t motionLayer = 0
 
uint8_t vertexLayer = 0
 
VegetationMask noise
 

详细描述

Source-equivalent plant motion parameters with explicit time and texture inputs. All data is owned. No wall clock/RNG/global shader state is read. Noise is linear RGBA with bilinear repeat addressing. The built-in 2x2 pattern is a native default; matching an authored appearance requires the same noise texture as the source. Speed/scale/amplitude controls retain TVE 12.6 plant shader units. Object transforms must be finite, affine and invertible. Output geometry is world space.

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

类成员变量说明

◆ batchMode

VegetationBatchMode eve::graphics::VegetationMotion::batchMode = VegetationBatchMode::Object

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

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

◆ bending

float eve::graphics::VegetationMotion::bending = 0.2f

在文件 VegetationMotion.h 第 47 行定义.

◆ bendingScale

float eve::graphics::VegetationMotion::bendingScale = 1.f

在文件 VegetationMotion.h 第 47 行定义.

◆ bendingSpeed

float eve::graphics::VegetationMotion::bendingSpeed = 2.f

在文件 VegetationMotion.h 第 47 行定义.

◆ bendingVariation

float eve::graphics::VegetationMotion::bendingVariation = 0.f

在文件 VegetationMotion.h 第 47 行定义.

◆ branch

float eve::graphics::VegetationMotion::branch = 0.2f

在文件 VegetationMotion.h 第 48 行定义.

◆ branchScale

float eve::graphics::VegetationMotion::branchScale = 3.f

在文件 VegetationMotion.h 第 48 行定义.

◆ branchSpeed

float eve::graphics::VegetationMotion::branchSpeed = 6.f

在文件 VegetationMotion.h 第 48 行定义.

◆ branchVariation

float eve::graphics::VegetationMotion::branchVariation = 0.f

在文件 VegetationMotion.h 第 48 行定义.

◆ camera

glm::vec3 eve::graphics::VegetationMotion::camera {0.f}

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

◆ distanceFadeBias

float eve::graphics::VegetationMotion::distanceFadeBias = 1.f

在文件 VegetationMotion.h 第 52 行定义.

◆ dynamicMode

float eve::graphics::VegetationMotion::dynamicMode = 0.f

在文件 VegetationMotion.h 第 46 行定义.

◆ facing

float eve::graphics::VegetationMotion::facing = 0.5f

在文件 VegetationMotion.h 第 46 行定义.

◆ fadeDistance

float eve::graphics::VegetationMotion::fadeDistance = 100.f

在文件 VegetationMotion.h 第 51 行定义.

被这些函数引用 eve::asset_graphics::VegetationSceneGpuRuntime::create().

◆ flutter

float eve::graphics::VegetationMotion::flutter = 0.2f

在文件 VegetationMotion.h 第 49 行定义.

◆ flutterScale

float eve::graphics::VegetationMotion::flutterScale = 10.f

在文件 VegetationMotion.h 第 49 行定义.

◆ flutterSpeed

float eve::graphics::VegetationMotion::flutterSpeed = 20.f

在文件 VegetationMotion.h 第 49 行定义.

◆ flutterVariation

float eve::graphics::VegetationMotion::flutterVariation = 0.f

在文件 VegetationMotion.h 第 49 行定义.

◆ globalBending

float eve::graphics::VegetationMotion::globalBending = 1.f

在文件 VegetationMotion.h 第 50 行定义.

被这些函数引用 eve::asset_graphics::VegetationSceneGpuRuntime::create().

◆ globalBranch

float eve::graphics::VegetationMotion::globalBranch = 1.f

在文件 VegetationMotion.h 第 50 行定义.

被这些函数引用 eve::asset_graphics::VegetationSceneGpuRuntime::create().

◆ globalFlutter

float eve::graphics::VegetationMotion::globalFlutter = 1.f

在文件 VegetationMotion.h 第 50 行定义.

被这些函数引用 eve::asset_graphics::VegetationSceneGpuRuntime::create().

◆ globalSize

float eve::graphics::VegetationMotion::globalSize = 1.f

在文件 VegetationMotion.h 第 52 行定义.

◆ interaction

float eve::graphics::VegetationMotion::interaction = 1.f

在文件 VegetationMotion.h 第 51 行定义.

◆ interactionMask

float eve::graphics::VegetationMotion::interactionMask = 1.f

在文件 VegetationMotion.h 第 51 行定义.

◆ motionLayer

uint8_t eve::graphics::VegetationMotion::motionLayer = 0

◆ noise

VegetationMask eve::graphics::VegetationMotion::noise
初始值:
{2,
2,
{glm::vec4(0.2f, 0.7f, 0.85f, 1.f), glm::vec4(0.8f, 0.4f, 0.55f, 1.f),
glm::vec4(0.4f, 0.2f, 0.65f, 1.f), glm::vec4(0.7f, 0.8f, 1.f, 1.f)}}

在文件 VegetationMotion.h 第 55 行定义.

◆ noiseTiling

float eve::graphics::VegetationMotion::noiseTiling = 1.f

在文件 VegetationMotion.h 第 50 行定义.

被这些函数引用 eve::asset_graphics::VegetationSceneGpuRuntime::create().

◆ objectToWorld

glm::mat4 eve::graphics::VegetationMotion::objectToWorld {1.f}

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

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

◆ perspectiveAngle

float eve::graphics::VegetationMotion::perspectiveAngle = 1.f

在文件 VegetationMotion.h 第 53 行定义.

◆ perspectiveNoise

float eve::graphics::VegetationMotion::perspectiveNoise = 0.f

在文件 VegetationMotion.h 第 53 行定义.

◆ perspectivePush

float eve::graphics::VegetationMotion::perspectivePush = 0.f

在文件 VegetationMotion.h 第 53 行定义.

◆ rigidity

float eve::graphics::VegetationMotion::rigidity = 0.5f

在文件 VegetationMotion.h 第 46 行定义.

◆ rolling

float eve::graphics::VegetationMotion::rolling = 0.2f

在文件 VegetationMotion.h 第 48 行定义.

◆ sizeFadeEnd

float eve::graphics::VegetationMotion::sizeFadeEnd = 1000001.f

在文件 VegetationMotion.h 第 52 行定义.

◆ sizeFadeStart

float eve::graphics::VegetationMotion::sizeFadeStart = 1000000.f

在文件 VegetationMotion.h 第 52 行定义.

◆ time

double eve::graphics::VegetationMotion::time = 0.

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

◆ timeOffset

double eve::graphics::VegetationMotion::timeOffset = 0.

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

◆ timeOverride

float eve::graphics::VegetationMotion::timeOverride = 0.f

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

◆ timeScale

double eve::graphics::VegetationMotion::timeScale = 1.

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

◆ usePivots

bool eve::graphics::VegetationMotion::usePivots = true

在文件 VegetationMotion.h 第 45 行定义.

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

◆ vertexLayer

uint8_t eve::graphics::VegetationMotion::vertexLayer = 0

在文件 VegetationMotion.h 第 54 行定义.

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

◆ worldOrigin

glm::vec3 eve::graphics::VegetationMotion::worldOrigin {0.f}

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

被这些函数引用 eve::asset_graphics::VegetationSceneGpuRuntime::create().


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