Navigation
API > API/Plugins > API/Plugins/NearestNeighborModelEditor > API/Plugins/NearestNeighborModelEditor/FNearestNeighborGeomCacheSampler
Description
This will set the SkeletalMeshComponent with custom Anim and GeometryCacheComponent with custom Cache. Using this fuction will stop using Anim and Cache from the EditorModel. Using this function will break Sample(). Call CustomSample() instead. Do NOT use this function on EditorModel Samplers.
| Name | Customize |
| Type | function |
| Header File | /Engine/Plugins/Animation/MLDeformer/NearestNeighborModel/Source/NearestNeighborModelEditor/Public/NearestNeighborGeomCacheSampler.h |
| Include Path | #include "NearestNeighborGeomCacheSampler.h" |
| Source | /Engine/Plugins/Animation/MLDeformer/NearestNeighborModel/Source/NearestNeighborModelEditor/Private/NearestNeighborGeomCacheSampler.cpp |
void Customize
(
UAnimSequence * Anim,
UGeometryCache * Cache
)