Navigation
API > API/Plugins > API/Plugins/MLAdapter > API/Plugins/MLAdapter/Actuators
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMLAdapterAgentElement
- UMLAdapterActuator
- UMLAdapterActuator_Camera
References
| Module | MLAdapter |
| Header | /Engine/Plugins/AI/MLAdapter/Source/MLAdapter/Public/Actuators/MLAdapterActuator_Camera.h |
| Include | #include "Actuators/MLAdapterActuator_Camera.h" |
Syntax
UCLASS&40;Blueprintable, EditInlineNew&41;
class UMLAdapterActuator_Camera : public UMLAdapterActuator
Remarks
Allows an agent to rotate the camera.
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint32: 1 | bConsumeData | If true, acting will reinitialize the HeadingRotator/Vector after reading them. | |
| uint32: 1 | bVectorMode | If true, use the HeadingVector. Otherwise, use the HeadingRotator. | |
| FRotator | HeadingRotator | Stores the direction to point the camera as a rotator. | |
| FVector | HeadingVector | Stores the direction to point the camera as a vector. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UMLAdapterActuator_Camera
(
const FObjectInitializer& ObjectInitializer |
Overridden from UMLAdapterActuator
| Type | Name | Description | |
|---|---|---|---|
| void | Act
(
const float DeltaTime |
Rotates the camera. | |
| void | DigestInputData
(
FMLAdapterMemoryReader& ValueStream |
Stores data in HeadingVector or HeadingRotator depending on bVectorMode. |
Overridden from UMLAdapterAgentElement
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| TSharedPtr< FMLAdapter::FSpace > |