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" |
FVector GetRelativeLocation() const
Remarks
Gets the literal value of RelativeLocation. Note, this may be an absolute location if this is a root component (not attached to anything) or when IsUsingAbsoluteLocation returns true.
This exists so subclasses don't need to have direct access to the RelativeLocation property so it can be made private later.