Unreal Engine 4 Documentation > Unreal Engine API Reference > Runtime > Engine > Components > USceneComponent > USceneComponent::InternalSetWorldLocationAndRotation

USceneComponent::InternalSetWorldLocationAndRotation

Syntax

bool InternalSetWorldLocationAndRotation
(
    FVector NewLocation,
    const FQuat & NewQuat,
    bool bNoPhysics,
    ETeleportType Teleport
)

Remarks

Internal helper, for use from MoveComponent() . Special codepath since the normal setters call MoveComponent.

: true if location or rotation was changed.

Returns

: true if location or rotation was changed.

References

Module

Engine

Header

Runtime/Engine/Classes/Components/SceneComponent.h

Source

Runtime/Engine/Private/Components/SceneComponent.cpp