Navigation
API > API/Editor > API/Editor/VREditor > API/Editor/VREditor/Teleporter
Inheritance Hierarchy
- AActor
- AVREditorTeleporter
References
| Module | VREditor |
| Header | /Engine/Source/Editor/VREditor/Public/Teleporter/VREditorTeleporter.h |
| Include | #include "Teleporter/VREditorTeleporter.h" |
Syntax
UCLASS (Blueprintable, BlueprintType)
class AVREditorTeleporter : public AActor
Remarks
VR Editor teleport manager and the visual representation of the teleport
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Default constructor that sets up CDO properties |
Functions
| Type | Name | Description | |
|---|---|---|---|
| float | GetSlideDelta
(
UVREditorInteractor* Interactor, |
Get slide delta to push/pull or scale the teleporter | |
| UVREditorMode * | GetVRMode () |
||
| void | Init
(
UVREditorMode* InMode |
Initializes the teleporter | |
| bool | IsAiming () |
Whether we are currently aiming to teleport. | |
| bool | |||
| void | SetColor
(
const FLinearColor& Color |
Sets the color for the teleporter visuals | |
| void | SetVisibility
(
const bool bVisible |
Hide or show the teleporter visuals | |
| void | Shutdown () |
Shuts down the teleporter | |
| void | Start teleporting, does a ray trace with the hand passed and calculates the locations for lerp movement in Teleport | ||
| void | TeleportDone () |
Called when teleport is done for cleanup |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EState |