Skip to content

ABlueprintStaticScholaEnvironment

class ABlueprintStaticScholaEnvironment : public AStaticScholaEnvironment

A blueprintable version of the StaticScholaEnvironment, that features trainers spawned by the pawns they control.

Dependencies: AStaticScholaEnvironment

Inherits from: public AStaticScholaEnvironment

Public Interface

Public Functions:

ResetEnvironment

virtual void ResetEnvironment()

Reset the environment.

Note that this does not reset the agent state.

Note: Subclasses should implement this method to add logic that runs when the environment is reset

Attributes: virtual

Source: Schola/Source/Schola/Public/Environment/StaticEnvironment.h (line 30, column 6)

RegisterAgents

virtual void RegisterAgents(TArray<APawn *> &OutTrainerControlledPawns)

Parameters:

NameTypeDefault
OutTrainerControlledPawnsTArray<APawn *> &

Attributes: virtual

Source: Schola/Source/Schola/Public/Environment/StaticEnvironment.h (line 33, column 6)

InitializeEnvironment

virtual void InitializeEnvironment()

Perform any environment setup like initializing variables, or binding delegates.

Occurs before Register Agents.

Attributes: virtual

Source: Schola/Source/Schola/Public/Environment/StaticEnvironment.h (line 36, column 6)

SetEnvironmentOptions

virtual void SetEnvironmentOptions(const TMap<FString, FString> &Options)

Configure this environment based on arbitrary Options from the GymConnector.

Called immediately before the environment is reset, if the gym connector has Options.

Parameters:

  • Options (const TMap<FString, FString> &) – [in] A map of options to configure the environment with

Attributes: virtual

Source: Schola/Source/Schola/Public/Environment/StaticEnvironment.h (line 39, column 6)

SeedEnvironment

virtual void SeedEnvironment(int Seed)

Configure this environment based on a Seed .

Called immediately before the environment is reset, if the gym connector has a new seed supplied.

Parameters:

  • Seed (int) – [in] The seed to configure the environment with

Attributes: virtual

Source: Schola/Source/Schola/Public/Environment/StaticEnvironment.h (line 42, column 6)

Source: Schola/Source/Schola/Public/Environment/StaticEnvironment.h (line 24, column 1)