USceneComponent::GetRelativeLocation_DirectMutable

Gets a refence to RelativeLocation with the expectation that it will be modified.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/SceneComponent.h

Include

#include "Components/SceneComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/SceneComponent.cpp

Syntax

FVector & GetRelativeLocation_DirectMutable()

Remarks

Gets a refence to RelativeLocation with the expectation that it will be modified. 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.

You should not use this method. The standard SetRelativeLocation variants should be used.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss