Skip to content

UMRIPlayerAgentComponent

Agent component marking the subject's (player's) pawn for state logging.

Syntax

class UMRIPlayerAgentComponent : public UMRIAgentComponent

Remarks

Attach to the pawn the subject controls during the experiment. During replay, the logging system visits this component each tick and records the pawn's position and rotation as an EEntityType::Player entity in the XML log. UCLASS

Inheritance Hierarchy

USceneComponentUMRIAgentComponentUMRIPlayerAgentComponent

Methods

Method Signature Description Blueprint
AcceptVisitor void UMRIPlayerAgentComponent::AcceptVisitor(IMRIAgentComponentVisitor &Visitor) const override Accepts a visitor and calls the player-typed Visit overload, so visitors record this entity as EEntityType::Player .
UMRIPlayerAgentComponent UMRIPlayerAgentComponent::UMRIPlayerAgentComponent(const FObjectInitializer &ObjectInitializer) Constructs the component.