Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Components > USceneComponent
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Components/SceneComponent.h |
Include | #include "Components/SceneComponent.h" |
FTransform CalcNewComponentToWorld
(
const FTransform & NewRelativeTransform,
const USceneComponent * Parent,
FName SocketName
) const
Remarks
Calculate the new ComponentToWorld transform for this component. Parent is optional and can be used for computing ComponentToWorld based on arbitrary USceneComponent. If Parent is not passed in we use the component's AttachParent