载入中...
搜索中...
未找到
eve::graphics::hair::GroomBinding类 参考

Root-to-skin binding table (UE UGroomBindingAsset analogue, CPU-only). 更多...

#include <Binding.h>

Public 成员函数

Result< void > build (const StrandsDatas &strands, const SkinTriMesh &restMesh)
 Project every strand root onto the closest rest-mesh triangle. @ownership Overwrites this binding; strands remain caller-owned.
 
void clear ()
 
size_t rootCount () const
 Root count.
 
const RootAttach * rootAt (size_t index) const
 Root at.
 
Result< StrandsDatas > deform (const StrandsDatas &restStrands, const SkinTriMesh &deformedMesh, BindingDeformMode mode=BindingDeformMode::Rigid) const
 Deform rest strands using this binding and a deformed skin mesh.
 

详细描述

Root-to-skin binding table (UE UGroomBindingAsset analogue, CPU-only).

Built once against a rest mesh; applied each frame (or on demand) against a deformed mesh that shares topology. Does not depend on the animation module — callers supply packed positions.

@thread Affine to the caller; not synchronized. @reentrancy Does not invoke callbacks.

在文件 Binding.h 第 63 行定义.

成员函数说明

◆ build()

Result< void > eve::graphics::hair::GroomBinding::build ( const StrandsDatas &  strands,
const SkinTriMesh &  restMesh 
)

◆ clear()

void eve::graphics::hair::GroomBinding::clear ( )

在文件 Binding.cpp 第 217 行定义.

◆ deform()

◆ rootAt()

const RootAttach * eve::graphics::hair::GroomBinding::rootAt ( size_t  index) const

Root at.

在文件 Binding.cpp 第 219 行定义.

引用了 index.

◆ rootCount()

size_t eve::graphics::hair::GroomBinding::rootCount ( ) const
inline

Root count.

在文件 Binding.h 第 74 行定义.


该类的文档由以下文件生成: