Navigation
API > API/Plugins > API/Plugins/NearestNeighborModelEditor > API/Plugins/NearestNeighborModelEditor/FNearestNeighborEditorModel
- FMLDeformerEditorModel::CreateSamplerObject()
- FMLDeformerGeomCacheEditorModel::CreateSamplerObject()
- FNearestNeighborEditorModel::CreateSamplerObject()
References
| Module | NearestNeighborModelEditor |
| Header | /Engine/Plugins/Animation/MLDeformer/NearestNeighborModel/Source/NearestNeighborModelEditor/Public/NearestNeighborEditorModel.h |
| Include | #include "NearestNeighborEditorModel.h" |
| Source | /Engine/Plugins/Animation/MLDeformer/NearestNeighborModel/Source/NearestNeighborModelEditor/Private/NearestNeighborEditorModel.cpp |
virtual TSharedPtr < FMLDeformerSampler > CreateSamplerObject() const
Remarks
Create the vertex delta sampler object. You can create your own sampler in case you use anything else than say a Geometry Cache as ground truth target data. A geometry cache based editor model would create a new FMLDeformerGeomCacheSampler for example.