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>
详细描述
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 |
在文件 VegetationMotion.h 第 54 行定义.
被这些函数引用 eve::graphics::configureVegetationDetails() , 以及 eve::graphics::deformVegetation().
◆ noise
| VegetationMask eve::graphics::VegetationMotion::noise |
在文件 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().
该结构体的文档由以下文件生成:
- src/modules/graphics/VegetationMotion.h