Navigation
API > API/Runtime > API/Runtime/MassEntity
Base class for Processors that are used as "observers" of entity operations. An observer declares the type of Mass element it cares about (Fragments and Tags supported at the moment) - via the ObservedType property - and the types of operations it wants to be notified of - via ObservedOperations.
When an observed operation takes place the processor's regular execution will take place, with ExecutionContext's "auxiliary data" (obtained by calling GetAuxData) being filled with an instance of FMassObserverExecutionContext, that can be used to get information about the type being handled and the kind of operation.
| Name | UMassObserverProcessor |
| Type | class |
| Header File | /Engine/Source/Runtime/MassEntity/Public/MassObserverProcessor.h |
| Include Path | #include "MassObserverProcessor.h" |
Syntax
UCLASS (MinimalAPI, Abstract)
class UMassObserverProcessor : public UMassProcessor
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMassProcessor → UMassObserverProcessor
Derived Classes
UMassObserverProcessor derived class hierarchy
- UAssignDebugVisProcessor
- UMassSmartObjectDeinitializerBase
- UMassSmartObjectInitializerBase
- UMassRelationObserver
- UMassCrowdDynamicObstacleDeinitializer
- UMassCrowdDynamicObstacleInitializer
- UMassCrowdLaneTrackingDestructor
- UMassLookAtRequestDeinitializer
- UMassLookAtRequestInitializer
- UMassLookAtTargetRemoverProcessor
- UMassMoveTargetFragmentInitializer
- UMassNavigationObstacleRemoverProcessor
- UMassNetworkIDFragmentInitializer
- UMassRandomVelocityInitializer
- UMassReplicationGridRemoverProcessor
- UMassRepresentationFragmentDestructor
- UMassSmartObjectUserFragmentDeinitializer
- UMassStateTreeFragmentDestructor
- UMassStationaryISMRepresentationFragmentDestructor
- UMassZoneGraphAnnotationTagsInitializer
- UMassZoneGraphLocationInitializer
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMassObserverProcessor() |
MassObserverProcessor.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
EMassObservedOperationFlags GetObservedOperations() |
Inlines | MassObserverProcessor.h | |
TNotNull< const UScriptStruct * > GetObservedTypeChecked() |
MassObserverProcessor.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Register () |
By default, registers this class as Operation observer of ObservedType. | MassObserverProcessor.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostInitProperties() |
MassObserverProcessor.h |