Class UInteractionManager

class UInteractionManager : public UObject

Public Functions

void SetupObservers(const TArray<UAbstractObserver*> &InObservers, TArray<UAbstractObserver*> &OutObservers)

Setup the observers for this interaction manager.

Parameters:
  • InObservers[in] The observers to setup

  • OutObservers[out] A copy of the input observers (used to set the Observers on the InteractionManager)

void CollectObservationsFromObservers(const TArray<UAbstractObserver*> &InObservers, FDictPoint &OutObservationsMap)

Collect observations from the observers.

Parameters:
  • InObservers[in] The observers to collect observations from

  • OutObservationsMap[out] The collected observations

void CollectObservationSpaceFromObservers(const TArray<UAbstractObserver*> &InObservers, FDictSpace &OutSpaceGroups)

Collect observation spaces from a List of Observers.

Parameters:
  • InObservers[in] The observers to collect observation spaces from

  • OutSpaceGroups[out] The collected observation spaces

void SetupActuators(const TArray<UActuator*> &InActuators, TArray<UActuator*> &OutActuators)

Setup the actuators for this interaction manager.

Parameters:
  • InActuators[in] The actuators to setup

  • OutActuators[out] A copy of the input actuators (used to set the Actuators on the InteractionManager)

void SendActionsToActuators(TArray<UActuator*> &OutActuators, const FDictPoint &Actions)

Send actions to actuators.

Parameters:
  • OutActuators[in] The actuators to send actions to

  • Actions[in] The actions to send

void CollectActionSpaceFromActuators(const TArray<UActuator*> &InActuators, FDictSpace &OutSpaceGroups)

Collect action spaces from a List of Actuators.

Parameters:
  • InActuators[in] The actuators to collect action spaces from

  • OutSpaceGroups[out] The collected action spaces

void Initialize(TArray<UAbstractObserver*> &InObservers, TArray<UActuator*> &InActuators)

Initialize the InteractionManager, from a list of observers and actuators.

Parameters:
  • InObservers[in] The observers that will be managed, and initialized

  • InActuators[in] The actuators that will be managed, and initialized

void DistributeActions(const FDictPoint &ActionMap)

Distribute Actions to the actuators.

Parameters:

ActionMap[in] The actions to distribute

FDictPoint &AggregateObservations()

Collect Observations from the observers.

Returns:

The aggregated observations as DictPoint

Public Members

TArray<UAbstractObserver*> Observers
TArray<UActuator*> Actuators
FDictPoint Observations

The most recently collected observations.

FInteractionDefinition InteractionDefn

The input output spaces, and other information for this interaction manager.

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!