载入中...
搜索中...
未找到
Guides.h 文件参考
#include "common/Result.h"
#include "graphics/hair/StrandsDatas.h"
#include <cstddef>
#include <cstdint>
#include <vector>

浏览源代码.

类

struct  eve::graphics::hair::GuideInfluence
 One guide contributing to a render strand. 更多...
 
struct  eve::graphics::hair::StrandGuideWeights
 Up to kMaxInfluences guides influencing one render strand. @ownership Owned by the weights table returned from buildGuideWeights. 更多...
 

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::graphics
 卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局参数。 数据模型与渲染/交互逻辑见 CardTypes.h。
 
namespace  eve::graphics::hair
 Procedural hair/fur card meshes + material/LOD helpers (no strand simulation).
 

枚举

enum class  eve::graphics::hair::InterpolationMode : uint8_t { eve::graphics::hair::Rigid = 0 , eve::graphics::hair::Offset = 1 , eve::graphics::hair::Smooth = 2 }
 How render strands follow deformed guides (UE interpolation analogue). 更多...
 

函数

Result< StrandsDatas > eve::graphics::hair::extractGuides (const StrandsDatas &strands, float guideFraction)
 Pick a deterministic subset of curves as guides (density thinning).
 
Result< std::vector< StrandGuideWeights > > eve::graphics::hair::buildGuideWeights (const StrandsDatas &strands, const StrandsDatas &guides, int maxInfluences=3, InterpolationMode mode=InterpolationMode::Offset)
 Build k-nearest guide weights for every render strand (by root distance).
 
Result< StrandsDatas > eve::graphics::hair::interpolateStrands (const StrandsDatas &strandsRest, const StrandsDatas &guidesRest, const StrandsDatas &guidesDeformed, const std::vector< StrandGuideWeights > &weights, InterpolationMode mode)
 Drive rest render strands with deformed guides using precomputed weights. @ownership Returned datas uniquely owned by the caller; inputs unchanged.