Navigation
API > API/Editor > API/Editor/UnrealEd
| Name | FActorPositioning |
| Type | struct |
| Header File | /Engine/Source/Editor/UnrealEd/Public/Editor/ActorPositioning.h |
| Include Path | #include "Editor/ActorPositioning.h" |
Syntax
struct FActorPositioning
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FVector GetActorPositionInFrontOfCamera
(
const AActor& InActor, |
Get a default actor position in front of the camera | Editor/ActorPositioning.h | |
static FTransform GetCurrentViewportPlacementTransform
(
const AActor& Actor, |
Get a transform that should be used to spawn the specified actor using the global editor click location and plane | Editor/ActorPositioning.h | |
static FTransform GetSnappedSurfaceAlignedTransform
(
const FSnappedPositioningData& PositioningData |
Get the snapped position and rotation transform for an actor to snap it to the specified surface. | Editor/ActorPositioning.h | |
static FTransform GetSurfaceAlignedTransform
(
const FPositioningData& PositioningData |
Get the position and rotation transform for an actor to snap it to the specified surface. | Editor/ActorPositioning.h | |
static FActorPositionTraceResult TraceWorldForPosition
(
const FViewportCursorLocation& Cursor, |
Trace the specified world to find a position to snap actors to | Editor/ActorPositioning.h | |
static FActorPositionTraceResult TraceWorldForPosition
(
const UWorld& InWorld, |
Trace the specified world to find a position to snap actors to | Editor/ActorPositioning.h | |
static FActorPositionTraceResult TraceWorldForPositionWithDefault
(
const FViewportCursorLocation& Cursor, |
Trace the specified world to find a position to snap actors to | Editor/ActorPositioning.h |