UVelocityObserver
class UVelocityObserver : public UBoxObserver
An 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 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/VelocityObserver.h
(line 50, column 11)
Implementation: Schola/Source/Schola/Private/Observers/VelocityObserver.cpp
(lines 63-83)
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/VelocityObserver.h
(line 52, column 14)
Implementation: Schola/Source/Schola/Private/Observers/VelocityObserver.cpp
(lines 5-33)
GenerateId
virtual FString GenerateId() const override const
Returns: 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 XDimensionBounds
The 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 YDimensionBounds
The 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 ZDimensionBounds
The 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 = = true
Should 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 = = true
Should 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 = = true
Should the observer track the Y dimension of the velocity.
Source: Schola/Source/Schola/Public/Observers/VelocityObserver.h
(line 40, column 6)
AActor * TrackedActor
AActor * TrackedActor
The 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 = = false
Should 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)