Navigation
API > API/Plugins > API/Plugins/NearestNeighborModelEditor > API/Plugins/NearestNeighborModelEditor/FNearestNeighborGeomCacheSampler
References
| Module | NearestNeighborModelEditor |
| Header | /Engine/Plugins/Animation/MLDeformer/NearestNeighborModel/Source/NearestNeighborModelEditor/Public/NearestNeighborGeomCacheSampler.h |
| Include | #include "NearestNeighborGeomCacheSampler.h" |
| Source | /Engine/Plugins/Animation/MLDeformer/NearestNeighborModel/Source/NearestNeighborModelEditor/Private/NearestNeighborGeomCacheSampler.cpp |
void Customize
(
UAnimSequence * Anim,
UGeometryCache * Cache
)
Remarks
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.