UVelocityObserver
class UVelocityObserver : public UBoxObserverAn observer that tracks the velocity of an actor.
Dependencies
This type depends on:
Inherits from: public UBoxObserver
Public Interface
Public Functions:
GetObservationSpace
virtual FBoxSpace GetObservationSpace() const constGet 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/VelocityObserver.h (line 50, column 11)
Implementation: Schola/Source/Schola/Private/Observers/VelocityObserver.cpp (lines 63-83)
CollectObservations
virtual void CollectObservations(FBoxPoint &OutObservations) overrideUse 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/VelocityObserver.h (line 52, column 14)
Implementation: Schola/Source/Schola/Private/Observers/VelocityObserver.cpp (lines 5-33)
GenerateId
virtual FString GenerateId() const override constReturns: FString
Attributes: const, virtual
Source: Schola/Source/Schola/Public/Observers/VelocityObserver.h (line 54, column 9)
Implementation: Schola/Source/Schola/Private/Observers/VelocityObserver.cpp (lines 35-61)
Public Members:
FBoxSpaceDimension XDimensionBounds
FBoxSpaceDimension XDimensionBoundsThe Min/Max value for the X dimension of the tracked position.
Source: Schola/Source/Schola/Public/Observers/VelocityObserver.h (line 20, column 20)
FBoxSpaceDimension YDimensionBounds
FBoxSpaceDimension YDimensionBoundsThe Min/Max value for the Y dimension of the tracked position.
Source: Schola/Source/Schola/Public/Observers/VelocityObserver.h (line 24, column 20)
FBoxSpaceDimension ZDimensionBounds
FBoxSpaceDimension ZDimensionBoundsThe Min/Max value for the Z dimension of the tracked position.
Source: Schola/Source/Schola/Public/Observers/VelocityObserver.h (line 28, column 20)
bool bHasXDimensions
bool bHasXDimensions = = trueShould the observer track the X dimension of the velocity.
Source: Schola/Source/Schola/Public/Observers/VelocityObserver.h (line 32, column 6)
bool bHasZDimensions
bool bHasZDimensions = = trueShould the observer track the Z dimension of the velocity.
Source: Schola/Source/Schola/Public/Observers/VelocityObserver.h (line 36, column 6)
bool bHasYDimensions
bool bHasYDimensions = = trueShould the observer track the Y dimension of the velocity.
Source: Schola/Source/Schola/Public/Observers/VelocityObserver.h (line 40, column 6)
AActor * TrackedActor
AActor * TrackedActorThe actor to track the velocity of.
If None, defaults to the owner of the observer.
Source: Schola/Source/Schola/Public/Observers/VelocityObserver.h (line 44, column 8)
bool bTrackNonOwner
bool bTrackNonOwner = = falseShould the observer track the velocity of an actor other than the owner.
Source: Schola/Source/Schola/Public/Observers/VelocityObserver.h (line 48, column 6)
Source: Schola/Source/Schola/Public/Observers/VelocityObserver.h (line 13, column 1)