Navigation
API > API/Plugins > API/Plugins/NearestNeighborModelEditor
| Name | FNearestNeighborGeomCacheSampler |
| Type | class |
| Header File | /Engine/Plugins/Animation/MLDeformer/NearestNeighborModel/Source/NearestNeighborModelEditor/Public/NearestNeighborGeomCacheSampler.h |
| Include Path | #include "NearestNeighborGeomCacheSampler.h" |
Syntax
class FNearestNeighborGeomCacheSampler : public UE::MLDeformer::FMLDeformerGeomCacheSampler
Inheritance Hierarchy
- UE::MLDeformer::FMLDeformerGeomCacheSampler → FNearestNeighborGeomCacheSampler
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Customize
(
UAnimSequence* Anim, |
This will set the SkeletalMeshComponent with custom Anim and GeometryCacheComponent with custom Cache. | NearestNeighborGeomCacheSampler.h | |
bool CustomSample
(
int32 Frame |
Sample function used with Customize | NearestNeighborGeomCacheSampler.h | |
TArray< uint32 > GetMeshIndexBuffer() |
Get the Mesh Index Buffer of the skeletal mesh object used by the model. | NearestNeighborGeomCacheSampler.h | |
virtual void Sample
(
int32 InAnimFrameIndex |
NearestNeighborGeomCacheSampler.h |