Skip to content

URotationObserver

class URotationObserver : public UBoxObserver

An observer that tracks the rotation of an actor.

Dependencies

This type depends on:

Inherits from: public UBoxObserver

Public Interface

Public Functions:

GetObservationSpace

virtual FBoxSpace GetObservationSpace() const const

Get the BoxSpace bounding the outputs of this sensor.

Returns: The ObservationSpace bounding the outputs of this sensor.

Note: This function should be implemented by any derived classes

Returns: FBoxSpace

Attributes: const, virtual

Source: Schola/Source/Schola/Public/Observers/RotationObserver.h (line 50, column 11)

Implementation: Schola/Source/Schola/Private/Observers/RotationObserver.cpp (lines 64-84)

CollectObservations

virtual void CollectObservations(FBoxPoint &OutObservations) override

Use this sensor to collect observations about the environment state.

Note: This function should be implemented by any derived classes

Parameters:

  • OutObservations (FBoxPoint &) – [out] DataPoint that will be updated with the outputs of this sensor.

Attributes: virtual

Source: Schola/Source/Schola/Public/Observers/RotationObserver.h (line 52, column 14)

Implementation: Schola/Source/Schola/Private/Observers/RotationObserver.cpp (lines 5-33)

GenerateId

virtual FString GenerateId() const override const

Returns: FString

Attributes: const, virtual

Source: Schola/Source/Schola/Public/Observers/RotationObserver.h (line 54, column 17)

Implementation: Schola/Source/Schola/Private/Observers/RotationObserver.cpp (lines 35-62)

Public Members:

FBoxSpaceDimension PitchBounds

FBoxSpaceDimension PitchBounds = = FBoxSpaceDimension(-180, 180)

The Min/Max value for the pitch of the tracked rotation.

Source: Schola/Source/Schola/Public/Observers/RotationObserver.h (line 20, column 20)

FBoxSpaceDimension RollBounds

FBoxSpaceDimension RollBounds = = FBoxSpaceDimension(-180, 180)

The Min/Max value for the roll of the tracked rotation.

Source: Schola/Source/Schola/Public/Observers/RotationObserver.h (line 24, column 20)

FBoxSpaceDimension YawBounds

FBoxSpaceDimension YawBounds = = FBoxSpaceDimension(-180, 180)

The Min/Max value for the yaw of the tracked rotation.

Source: Schola/Source/Schola/Public/Observers/RotationObserver.h (line 28, column 20)

bool bHasPitch

bool bHasPitch = = true

Should the observer track the pitch of the rotation.

Source: Schola/Source/Schola/Public/Observers/RotationObserver.h (line 32, column 6)

bool bHasRoll

bool bHasRoll = = true

Should the observer track the roll of the rotation.

Source: Schola/Source/Schola/Public/Observers/RotationObserver.h (line 36, column 6)

bool bHasYaw

bool bHasYaw = = true

Should the observer track the yaw of the rotation.

Source: Schola/Source/Schola/Public/Observers/RotationObserver.h (line 40, column 6)

AActor * TrackedActor

AActor * TrackedActor

The actor to track the rotation of.

If None, defaults to the owner of the observer.

Source: Schola/Source/Schola/Public/Observers/RotationObserver.h (line 44, column 8)

bool bTrackNonOwner

bool bTrackNonOwner = = false

Should the observer track the rotation of an actor other than the owner.

Source: Schola/Source/Schola/Public/Observers/RotationObserver.h (line 48, column 6)

Source: Schola/Source/Schola/Public/Observers/RotationObserver.h (line 13, column 1)