In case somebody is looking for the function of the SceneComponent:
USceneComponent::GetComponentTransform