UExperimentPlayerAgentComponent¶
Agent component marking the subject's (player's) pawn for state logging.
Syntax¶
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¶
USceneComponent → UExperimentAgentComponent → UExperimentPlayerAgentComponent
Methods¶
| Method | Signature | Description | Blueprint |
|---|---|---|---|
| AcceptVisitor | void UExperimentPlayerAgentComponent::AcceptVisitor(IExperimentAgentComponentVisitor &Visitor) const override |
Accepts a visitor and calls the player-typed Visit overload, so visitors record this entity as EEntityType::Player . | |
| UExperimentPlayerAgentComponent | UExperimentPlayerAgentComponent::UExperimentPlayerAgentComponent(const FObjectInitializer &ObjectInitializer) |
Constructs the component. |