Navigation
API > API/Plugins > API/Plugins/PhysicsControl > API/Plugins/PhysicsControl/UPhysicsControlComponent
References
| Module | PhysicsControl |
| Header | /Engine/Plugins/Experimental/PhysicsControl/Source/PhysicsControl/Public/PhysicsControlComponent.h |
| Include | #include "PhysicsControlComponent.h" |
| Source | /Engine/Plugins/Experimental/PhysicsControl/Source/PhysicsControl/Private/PhysicsControlComponentImpl.cpp |
bool GetBoneData
(
UE::PhysicsControl::FBoneData & OutBoneData,
const UE::PhysicsControl::FPhysicsControlPoseData *& OutPoseData,
const USkeletalMeshComponent * InSkeletalMeshComponent,
const FName InBoneName
) const
Remarks
Retrieves the bone data for the specified bone given the skeletal mesh component. true if the bone and data were found, false if not (in which case warnings will be logged)
Parameters
| Name | Description |
|---|---|
| OutBoneData | If successful, this will contain the output bone data. |
| OutPoseData | If successful, this will contain the pose data structure, in case more info is required |
| InSkeletalMeshComponent | Required to be a valid pointer to a skeletal mesh component |
| InBoneName | The name of the bone to retrieve data for |