Skip to content

UActuatorComponent

class UActuatorComponent : public UInteractionComponent

An ActorComponent for holding onto an Actuator and providing some related utility functions.

Dependencies: UActuator, UInteractionComponent

Inherits from: public UInteractionComponent

Public Interface

Constructor:

UActuatorComponent

UActuatorComponent()

Sets default values for this component’s properties.

Source: Schola/Source/Schola/Public/Agent/AgentComponents/ActuatorComponent.h (line 21, column 1)

Implementation: Schola/Source/Schola/Private/Agent/AgentComponents/ActuatorComponent.cpp (lines 6-13)

Public Functions:

TickComponent

virtual void TickComponent(float DeltaTime, ELevelTick TickType, FActorComponentTickFunction *ThisTickFunction) override

Called every frame.

Parameters:

NameTypeDefault
DeltaTimefloat
TickTypeELevelTick
ThisTickFunctionFActorComponentTickFunction *

Attributes: virtual

Source: Schola/Source/Schola/Public/Agent/AgentComponents/ActuatorComponent.h (line 33, column 14)

Implementation: Schola/Source/Schola/Private/Agent/AgentComponents/ActuatorComponent.cpp (lines 24-29)

Public Members:

UActuator * Actuator

UActuator * Actuator

The Actuator Object inside this Actuator Component.

Source: Schola/Source/Schola/Public/Agent/AgentComponents/ActuatorComponent.h (line 25, column 11)

Protected Interface

Protected Functions:

BeginPlay

virtual void BeginPlay() override

Called when the game starts.

Attributes: virtual

Source: Schola/Source/Schola/Public/Agent/AgentComponents/ActuatorComponent.h (line 29, column 14)

Implementation: Schola/Source/Schola/Private/Agent/AgentComponents/ActuatorComponent.cpp (lines 16-21)

Source: Schola/Source/Schola/Public/Agent/AgentComponents/ActuatorComponent.h (line 15, column 1)