Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/USkinnedMeshComponent
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Components/SkinnedMeshComponent.h |
| Include | #include "Components/SkinnedMeshComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/SkinnedMeshComponent.cpp |
FName FindClosestBone_K2
&40;
FVector TestLocation,
FVector & BoneLocation,
float IgnoreScale,
bool bRequirePhysicsAsset
&41; const
Remarks
Finds the closest bone to the given location the name of the bone that was found, or 'None' if no bone was found
Parameters
| Name | Description |
|---|---|
| TestLocation | the location to test against |
| BoneLocation | (optional, out) if specified, set to the world space location of the bone that was found, or (0,0,0) if no bone was found |
| IgnoreScale | (optional) if specified, only bones with scaling larger than the specified factor are considered |
| bRequirePhysicsAsset | (optional) if true, only bones with physics will be considered |