Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/FActorPositioning
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
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 |
TraceWorldForPosition(const FViewportCursorLocation &, const FSceneView &, const TArray< AActor > )
Description
Trace the specified world to find a position to snap actors to
| Name | TraceWorldForPosition |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Public/Editor/ActorPositioning.h |
| Include Path | #include "Editor/ActorPositioning.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/Editor/ActorPositioning.cpp |
static FActorPositionTraceResult TraceWorldForPosition
(
const FViewportCursorLocation & Cursor,
const FSceneView & View,
const TArray < AActor * > * IgnoreActors
)
Result structure containing the location and normal of a trace hit, or empty on failure
Parameters
| Name | Remarks |
|---|---|
| Cursor | The cursor position and direction to trace at |
| View | The scene view that we are tracing on |
| IgnoreActors | Optional array of actors to exclude from the trace |
TraceWorldForPosition(const UWorld &, const FSceneView &, const FVector &, const FVector &, const TArray< AActor > )
Description
Trace the specified world to find a position to snap actors to
| Name | TraceWorldForPosition |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Public/Editor/ActorPositioning.h |
| Include Path | #include "Editor/ActorPositioning.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/Editor/ActorPositioning.cpp |
static FActorPositionTraceResult TraceWorldForPosition
(
const UWorld & InWorld,
const FSceneView & InSceneView,
const FVector & RayStart,
const FVector & RayEnd,
const TArray < AActor * > * IgnoreActors
)
Result structure containing the location and normal of a trace hit, or empty on failure
Parameters
| Name | Remarks |
|---|---|
| World | The world to trace |
| InSceneView | The scene view that we are tracing on |
| RayStart | The start of the ray in world space |
| RayEnd | The end of the ray in world space |
| IgnoreActors | Optional array of actors to exclude from the trace |