Navigation
API > API/Plugins > API/Plugins/MassSmartObjects
Struct to pass around the required set of information to activate a mass behavior definition on a given entity. Context must be created on stack and not kept around since EntityView validity is not guaranteed.
| Name | FMassBehaviorEntityContext |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/MassGameplay/Source/MassSmartObjects/Public/MassSmartObjectBehaviorDefinition.h |
| Include Path | #include "MassSmartObjectBehaviorDefinition.h" |
Syntax
struct FMassBehaviorEntityContext
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| MassSmartObjectBehaviorDefinition.h | |||
FMassBehaviorEntityContext
(
FMassEntityView&& InEntityView, |
MassSmartObjectBehaviorDefinition.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| EntityView | const FMassEntityView | MassSmartObjectBehaviorDefinition.h | ||
| SmartObjectSubsystem | USmartObjectSubsystem & | MassSmartObjectBehaviorDefinition.h |