UUnrealEdEngine::SetPivot

Sets the editor's pivot location, and optionally the pre-pivots of actors.

Windows
MacOS
Linux

Override Hierarchy

UEditorEngine::SetPivot()

UUnrealEdEngine::SetPivot()

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Classes/Editor/UnrealEdEngine.h

Include

#include "Editor/UnrealEdEngine.h"

Source

/Engine/Source/Editor/UnrealEd/Private/EditorSelectUtils.cpp

Syntax

virtual void SetPivot
(
    FVector NewPivot,
    bool bSnapPivotToGrid,
    bool bIgnoreAxis,
    bool bAssignPivot
)

Remarks

Sets the editor's pivot location, and optionally the pre-pivots of actors.

Parameters

Parameter

Description

NewPivot

The new pivot location

bSnapPivotToGrid

If true, snap the new pivot location to the grid.

bIgnoreAxis

If true, leave the existing pivot unaffected for components of NewPivot that are 0.

bAssignPivot

If true, assign the given pivot to any valid actors that retain it (defaults to false)

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