Class UTeleportActuator

class UTeleportActuator : public UDiscreteActuator

Public Functions

virtual FDiscreteSpace GetActionSpace() override

Get the Space bounding the inputs to this actuator.

Note

This function must be implemented in the derived class.

Returns:

DiscreteSpace containing the bounds of the inputs to this actuator

FVector ConvertActionToFVector(const FDiscretePoint &Action)

Convert a Discrete Point with 3 values to an FVector.

Parameters:

Action[in] DiscretePoint that will be converted

Returns:

FVector containing the converted DiscretePoint

float GetVectorDimension(int Speed, int DiscretePointValue)

Get the magnitude of movement based on the value of a singular.

Parameters:
  • Speed[in] The speed of the teleportaiton Actuator

  • DiscretePointValue[in] The value of the DiscretePoint, to check for forward, backward, or no movement

Returns:

The magnitude of the movement, multiplied by the direction

virtual void TakeAction(const FDiscretePoint &Action) override

Use this actuator to take an action impacting the world.

Note

This function must be implemented in the derived class.

Parameters:

Action[in] DiscretePoint containing the inputs to this actuator

Public Members

float XDimensionSpeed

The distance this agent teleports in the X dimension.

float YDimensionSpeed

The distance this agent teleports in the Y dimension.

float ZDimensionSpeed

The distance this agent teleports in the Z dimension.

bool bHasXDimension = true

Toggle for whether this actuator teleports the Agent along the X dimension.

bool bHasZDimension = true

Toggle for whether this actuator teleports the Agent along the Z dimension.

bool bHasYDimension = true

Toggle for whether this actuator teleports the Agent along the Y dimension.

FOnTeleportSignature OnTeleportDelegate

A delegate invoked when this actuator receives input from a brain.

ETeleportType TeleportType = ETeleportType::None

Type of teleportation to use.

See SetActorLocation documentation for more details.

bool bSweep

Toggle for whether to sweep while teleporting the actor.

See SetActorLocation documentation for more details

AActor *Target

Related pages

  • Visit the Schola product page for download links and more information.

Looking for more documentation on GPUOpen?

AMD GPUOpen software blogs

Our handy software release blogs will help you make good use of our tools, SDKs, and effects, as well as sharing the latest features with new releases.

GPUOpen Manuals

Don’t miss our manual documentation! And if slide decks are what you’re after, you’ll find 100+ of our finest presentations here.

AMD GPUOpen Performance Guides

The home of great performance and optimization advice for AMD RDNA™ 2 GPUs, AMD Ryzen™ CPUs, and so much more.

Getting started: AMD GPUOpen software

New or fairly new to AMD’s tools, libraries, and effects? This is the best place to get started on GPUOpen!

AMD GPUOpen Getting Started Development and Performance

Looking for tips on getting started with developing and/or optimizing your game, whether on AMD hardware or generally? We’ve got you covered!

AMD GPUOpen Technical blogs

Browse our technical blogs, and find valuable advice on developing with AMD hardware, ray tracing, Vulkan®, DirectX®, Unreal Engine, and lots more.

Find out more about our software!

AMD GPUOpen Effects - AMD FidelityFX technologies

Create wonder. No black boxes. Meet the AMD FidelityFX SDK!

AMD GPUOpen Samples

Browse all our useful samples. Perfect for when you’re needing to get started, want to integrate one of our libraries, and much more.

AMD GPUOpen developer SDKs

Discover what our SDK technologies can offer you. Query hardware or software, manage memory, create rendering applications or machine learning, and much more!

AMD GPUOpen Developer Tools

Analyze, Optimize, Profile, Benchmark. We provide you with the developer tools you need to make sure your game is the best it can be!