Navigation
API > API/Plugins > API/Plugins/NearestNeighborModel > API/Plugins/NearestNeighborModel/UNearestNeighborModelInstance
- UMLDeformerModelInstance::Init()
- UMLDeformerMorphModelInstance::Init()
- UNearestNeighborModelInstance::Init()
References
| Module | NearestNeighborModel |
| Header | /Engine/Plugins/Animation/MLDeformer/NearestNeighborModel/Source/NearestNeighborModel/Public/NearestNeighborModelInstance.h |
| Include | #include "NearestNeighborModelInstance.h" |
| Source | /Engine/Plugins/Animation/MLDeformer/NearestNeighborModel/Source/NearestNeighborModel/Private/NearestNeighborModelInstance.cpp |
virtual void Init
&40;
USkeletalMeshComponent &42; SkelMeshComponent
&41;
Remarks
Initialize the model instance. This internally builds the structures to quickly grab bone transforms. If you override this method, you probably also want to call the Init of this base class inside your overloaded method.
Parameters
| Name | Description |
|---|---|
| SkelMeshComponent | The skeletal mesh component that we will grab bone transforms and curve values from. |