ABlueprintDynamicScholaEnvironment
class ABlueprintDynamicScholaEnvironment : public ADynamicScholaEnvironment
A blueprintable version of the DynamicScholaEnvironment, that features trainers spawned by the environment or other objects.
Dependencies: ADynamicScholaEnvironment, FDynamicAgentStruct
Inherits from: public ADynamicScholaEnvironment
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/DynamicEnvironment.h
(line 61, column 6)
RegisterAgents
virtual void RegisterAgents(TArray<FDynamicAgentStruct> &OutAgentSpawnStructs)
Parameters:
Name | Type | Default |
---|---|---|
OutAgentSpawnStructs | TArray<FDynamicAgentStruct> & | “ |
Attributes: virtual
Source: Schola/Source/Schola/Public/Environment/DynamicEnvironment.h
(line 64, 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/DynamicEnvironment.h
(line 67, column 6)
SetEnvironmentOptions
virtual void SetEnvironmentOptions(const TMap<FString, FString> &InOptions)
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/DynamicEnvironment.h
(line 70, 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/DynamicEnvironment.h
(line 73, column 6)
Source: Schola/Source/Schola/Public/Environment/DynamicEnvironment.h
(line 55, column 1)