Navigation
API > API/Plugins > API/Plugins/LearningAgents
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- ULearningAgentsAction
- URotationAction
References
| Module | LearningAgents |
| Header | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Public/LearningAgentsActions.h |
| Include | #include "LearningAgentsActions.h" |
Syntax
UCLASS&40;&41;
class URotationAction : public ULearningAgentsAction
Remarks
A rotation action.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< UE::Learning::FRotationVectorFeature > | FeatureObject |
Functions
| Type | Name | Description | |
|---|---|---|---|
| URotationAction * | AddRotationAction
(
ULearningAgentsInteractor* InInteractor, |
Adds a new rotation action to the given agent interactor. | |
| FRotator | GetRotationAction
(
const int32 AgentId |
Gets the data for this action as a rotator. | |
| FQuat | GetRotationActionAsQuat
(
const int32 AgentId |
Gets the data for this action as a quaternion. | |
| FVector | GetRotationActionAsRotationVector
(
const int32 AgentId |
Gets the data for this action as a rotation vector. |
Overridden from ULearningAgentsAction
| Type | Name | Description | |
|---|---|---|---|
| void | VisualLog
(
const UE::Learning::FIndexSet Instances |
Describes this action to the visual logger for debugging purposes. |