Skip to content

UBlueprintEnvironmentUtilityComponent

class UBlueprintEnvironmentUtilityComponent : public UAbstractEnvironmentUtilityComponent

A blueprint implementable version of the AbstractEnvironmentUtilityComponent.

Dependencies: FTrainerState, UAbstractEnvironmentUtilityComponent

Inherits from: public UAbstractEnvironmentUtilityComponent

Subclassed by: UStatLoggerComponent

Public Interface

Public Functions:

OnEnvironmentStep

virtual void OnEnvironmentStep(int AgentID, FTrainerState &State)

Callback for when an agent takes a step in the environment.

Parameters:

  • AgentID (int) – [in] The ID of the agent that took the step.
  • State (FTrainerState &) – [in] The state of the agent after taking the step.

Attributes: virtual

Source: Schola/Source/Schola/Public/Environment/EnvironmentComponents/AbstractEnvironmentUtilityComponent.h (line 65, column 6)

OnEnvironmentReset

virtual void OnEnvironmentReset()

Callback for when the environment is reset.

Attributes: virtual

Source: Schola/Source/Schola/Public/Environment/EnvironmentComponents/AbstractEnvironmentUtilityComponent.h (line 68, column 6)

OnAgentRegister

virtual void OnAgentRegister(int AgentID)

Callback for when an agent is registered in the environment.

Parameters:

  • AgentID (int) – [in] The ID of the agent that was registered.

Attributes: virtual

Source: Schola/Source/Schola/Public/Environment/EnvironmentComponents/AbstractEnvironmentUtilityComponent.h (line 71, column 6)

OnEnvironmentInit

virtual void OnEnvironmentInit(int Id)

Callback for when the environment is initialized.

Parameters:

  • Id (int) – [in] The ID of the environment.

Attributes: virtual

Source: Schola/Source/Schola/Public/Environment/EnvironmentComponents/AbstractEnvironmentUtilityComponent.h (line 74, column 6)

OnEnvironmentEnd

virtual void OnEnvironmentEnd()

Callback for when the environment ends.

Attributes: virtual

Source: Schola/Source/Schola/Public/Environment/EnvironmentComponents/AbstractEnvironmentUtilityComponent.h (line 77, column 6)

Used By: UStatLoggerComponent

Source: Schola/Source/Schola/Public/Environment/EnvironmentComponents/AbstractEnvironmentUtilityComponent.h (line 58, column 1)