Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/FActorPositioning
Description
Get the position and rotation transform for an actor to snap it to the specified surface. This will potentially align the actor to the specified surface normal, and offset it.
| Name | GetSurfaceAlignedTransform |
| 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 FTransform GetSurfaceAlignedTransform
(
const FPositioningData & PositioningData
)
The expected transform for the specified actor
Parameters
| Name | Remarks |
|---|---|
| PositioningData | Positioning data used to calculate the transformation |