Navigation
API > API/Plugins > API/Plugins/AvalancheViewport
References
| Module | AvalancheViewport |
| Header | /Engine/Plugins/Experimental/Avalanche/Source/AvalancheViewport/Public/AvaScreenAlignmentUtils.h |
| Include | #include "AvaScreenAlignmentUtils.h" |
Syntax
class FAvaScreenAlignmentUtils
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AlignActorRotationAxis
(
const TSharedRef< IAvaViewportWorldCoordinateConverter >& InCoordinateConverter, |
Aligns the given actor to the given rotation/axis. | |
| void | AlignActorsCameraRotationAxis
(
const TSharedRef< IAvaViewportWorldCoordinateConverter >& InCoordinateConverter, |
Aligns the given actor to the given axis of the camera's rotation (looking at the camera). | |
| void | AlignActorsDepth
(
const TSharedRef< IAvaViewportWorldCoordinateConverter >& InCoordinateConverter, |
Takes in a list of actors and aligns them front to back (their screen z coordinates will match) | |
| void | AlignActorsHorizontal
(
const TSharedRef< IAvaViewportWorldCoordinateConverter >& InCoordinateConverter, |
Takes in a list of actors and aligns them hozitontally (their screen X coordinates will match) | |
| void | AlignActorsVertical
(
const TSharedRef< IAvaViewportWorldCoordinateConverter >& InCoordinateConverter, |
Takes in a list of actors and aligns them vertically (their screen Y coordinates will match) | |
| void | DistributeActorsDepth
(
const TSharedRef< IAvaViewportWorldCoordinateConverter >& InCoordinateConverter, |
Takes in a list of actors and distributes them front to back (their screen Z coordinates will spread evenly) | |
| void | DistributeActorsHorizontal
(
const TSharedRef< IAvaViewportWorldCoordinateConverter >& InCoordinateConverter, |
Takes in a list of actors and distributes them hozitontally (their screen X coordinates will spread evenly) | |
| void | DistributeActorsVertical
(
const TSharedRef< IAvaViewportWorldCoordinateConverter >& InCoordinateConverter, |
Takes in a list of actors and distributes them vertically (their screen Y coordinates will spread evenly) | |
| void | FitActorToScreen
(
const TSharedRef< IAvaViewportWorldCoordinateConverter >& InCoordinateConverter, |
Resizes the actor to teh same size as the screen at its current depth and moves it to the center. | |
| void | SizeActorToScreen
(
const TSharedRef< IAvaViewportWorldCoordinateConverter >& InCoordinateConverter, |
Resizes the actor to the same size as the screen at its current depth. |