Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/Editor > API/Editor/UnrealEd/Editor/UEditorEngine
- UEditorEngine::SetPivot()
- UUnrealEdEngine::SetPivot()
References
Module | UnrealEd |
Header | /Engine/Source/Editor/UnrealEd/Classes/Editor/EditorEngine.h |
Include | #include "Editor/EditorEngine.h" |
virtual void SetPivot
&40;
FVector NewPivot,
bool bSnapPivotToGrid,
bool bIgnoreAxis,
bool bAssignPivot
&41;
Remarks
Sets the editor's pivot location, and optionally the pre-pivots of actors.
Parameters
Name | 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) |