Navigation
API > API/Plugins > API/Plugins/NearestNeighborModelEditor > API/Plugins/NearestNeighborModelEditor/FNearestNeighborEditorModel
- FMLDeformerEditorModel::CreateSampler()
- FMLDeformerGeomCacheEditorModel::CreateSampler()
- FNearestNeighborEditorModel::CreateSampler()
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 FMLDeformerSampler &42; CreateSampler&40;&41; 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. A pointer to the newly created sampler.