载入中...
搜索中...
未找到
VegetationMotion.h
浏览该文件的文档.
48 float branch = 0.2f, rolling = 0.2f, branchSpeed = 6.f, branchScale = 3.f, branchVariation = 0.f;
52 float globalSize = 1.f, sizeFadeStart = 1000000.f, sizeFadeEnd = 1000001.f, distanceFadeBias = 1.f;
87 const VegetationField& field, std::span<const VegetationVertex> vertices, const VegetationMotion& motion);
Move-only, checked operation results for the common layer.
Backend-independent, owning vegetation influence field. Single writer; concurrent const evaluation is...
Definition VegetationField.h:86
卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局...
Definition Animation.h:25
VegetationBatchMode
Object mode rotates around pivots; batched mode uses height-scaled offsets.
Definition VegetationMotion.h:15
Result< VegetationGeometry > deformVegetation(const VegetationField &field, std::span< const VegetationVertex > vertices, const VegetationMotion &motion)
Evaluate plant bending, squash, rolling, flutter, interaction and perspective. Worker-safe with immut...
Definition VegetationMotion.cpp:185
Owning geometry projection, packed world XYZ positions and unit normals.
Definition VegetationMotion.h:63
std::vector< float > positions
Definition VegetationMotion.h:64
std::vector< float > vegetationFactors
Interleaved variation, occlusion, detail mask and detail UV, five floats per vertex.
Definition VegetationMotion.h:66
std::vector< float > motionHighlights
Owning per-rest-vertex motion highlight scalar, parallel to positions/3. Evaluated before raster inte...
Definition VegetationMotion.h:73
std::vector< float > normals
Definition VegetationMotion.h:64
std::vector< float > tangents
Owning deformed world XYZ frame streams; both empty when source tangents are absent.
Definition VegetationMotion.h:75
std::vector< float > bitangents
Definition VegetationMotion.h:75
Owning linear RGBA mask, sampled bilinearly with clamped addressing.
Definition VegetationField.h:23
Source-equivalent plant motion parameters with explicit time and texture inputs. All data is owned....
Definition VegetationMotion.h:38
float distanceFadeBias
Definition VegetationMotion.h:52
float perspectiveNoise
Definition VegetationMotion.h:53
float interactionMask
Definition VegetationMotion.h:51
float branchVariation
Definition VegetationMotion.h:48
VegetationBatchMode batchMode
Definition VegetationMotion.h:44
float perspectiveAngle
Definition VegetationMotion.h:53
float bendingVariation
Definition VegetationMotion.h:47
float flutterVariation
Definition VegetationMotion.h:49
float perspectivePush
Definition VegetationMotion.h:53
glm::mat4 objectToWorld
Definition VegetationMotion.h:42
Owning rest vertex in object space, with unpacked authoring channels. Bending/branch/flutter/variatio...
Definition VegetationMotion.h:21
glm::vec2 secondaryTexcoord
Definition VegetationMotion.h:26
std::optional< glm::vec4 > tangent
Optional authored tangent XYZ plus signed unit handedness; all vertices agree on presence.
Definition VegetationMotion.h:28