Navigation
API > API/Plugins > API/Plugins/LearningAgents > API/Plugins/LearningAgents/UMeshComponentHelper
References
| Module | LearningAgents |
| Header | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Public/LearningAgentsHelpers.h |
| Include | #include "LearningAgentsHelpers.h" |
| Source | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Private/LearningAgentsHelpers.cpp |
UFUNCTION&40;BlueprintPure&61;false, Category&61;"LearningAgents", Meta&61;&40;AgentId&61;"&45;1"&41;&41;
void GetMeshBonePositions
&40;
TArray< FVector > & OutBonePositions,
const int32 AgentId,
const UMeshComponent &42; MeshComponent,
const TArray< FName > & BoneNames
&41; const
Remarks
Gets the bone positions for a set of bones of the mesh component in world space.
Parameters
| Name | Description |
|---|---|
| OutBonePositions | The output array of bone positions. |
| AgentId | The agent id to run the helper for. |
| MeshComponent | The mesh component to use. |
| BoneNames | The names of the bones to use. |