载入中...
搜索中...
未找到
GroomAsset.h
浏览该文件的文档.
77[[nodiscard]] EVENGINE_API_BACKENDS size_t selectLodIndex(const std::vector<GroomLod> &lods, float screenSize);
Move-only, checked operation results for the common layer.
Shared CPU groom container (UE UGroomAsset analogue).
Definition GroomAsset.h:52
CPU-authoritative strand buffer (UE FHairStrandsDatas analogue).
Definition StrandsDatas.h:44
Procedural hair/fur card meshes + material/LOD helpers (no strand simulation).
Definition Graphics.h:58
Representation
Geometry representation selected by a groom LOD (UE GeometryType analogue).
Definition GroomAsset.h:14
size_t selectLodIndex(const std::vector< GroomLod > &lods, float screenSize)
Pick the LOD index for a given screen size (largest screenSize ≤ query).
Definition GroomAsset.cpp:75
One groom group (UE hair group analogue: bangs / scalp / beard …). @ownership Owned by GroomAsset.
Definition GroomAsset.h:31
StrandsDatas guides
Optional simulation / interpolation guides (may be empty). When empty, callers can derive guides via ...
Definition GroomAsset.h:39
float screenSize
Switch to this LOD when screen size falls below this value (0..1).
Definition GroomAsset.h:19
Representation representation
Definition GroomAsset.h:20
float thicknessScale
Extra thickness scale applied when curves are decimated.
Definition GroomAsset.h:24
float curveFraction
Keep this fraction of curves when baking ribbons (1 = all).
Definition GroomAsset.h:22