Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/USceneComponent
Description
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
| Name | CalcNewComponentToWorld |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/SceneComponent.h |
| Include Path | #include "Components/SceneComponent.h" |
FTransform CalcNewComponentToWorld
(
const FTransform & NewRelativeTransform,
const USceneComponent * Parent,
FName SocketName
) const