Navigation
API > API/Plugins > API/Plugins/MassSmartObjects
Inheritance Hierarchy
- UDebugDrawComponent
- UZoneGraphAnnotationComponent
- USmartObjectZoneAnnotations
References
| Module | MassSmartObjects |
| Header | /Engine/Plugins/Runtime/MassGameplay/Source/MassSmartObjects/Public/SmartObjectZoneAnnotations.h |
| Include | #include "SmartObjectZoneAnnotations.h" |
Syntax
UCLASS (ClassGroup=AI, BlueprintType, Meta=(BlueprintSpawnableComponent))
class USmartObjectZoneAnnotations : public UZoneGraphAnnotationComponent
Remarks
ZoneGraph annotations for smart objects
Variables
| Type | Name | Description | |
|---|---|---|---|
| FZoneGraphTagFilter | AffectedLaneTags | Filter specifying which lanes the behavior is applied to. | |
| FZoneGraphTag | BehaviorTag | Tag to mark the lanes that offers smart objects. | |
| bool | bRebuildAllGraphsRequested | ||
| FDelegateHandle | OnAnnotationSettingsChangedHandle | ||
| FDelegateHandle | OnGraphDataChangedHandle | ||
| FDelegateHandle | OnMainCollectionChangedHandle | ||
| FDelegateHandle | OnMainCollectionDirtiedHandle | ||
| TArray< FSmartObjectAnnotationData > | SmartObjectAnnotationDataArray | Entry points graph for each ZoneGraphData. | |
| TObjectPtr< USmartObjectSubsystem > | SmartObjectSubsystem | Cached SmartObjectSubsystem |
Functions
| Type | Name | Description | |
|---|---|---|---|
| const FSmartObjectAnnotationData * | GetAnnotationData
(
FZoneGraphDataHandle DataHandle |
||
| TOptional< FSmartObjectLaneLocation > | GetSmartObjectLaneLocation
(
const FZoneGraphDataHandle DataHandle, |
||
| void | |||
| void | RebuildForSingleGraph
(
FSmartObjectAnnotationData& Data, |
||
| void |
Overridden from UZoneGraphAnnotationComponent
| Type | Name | Description | |
|---|---|---|---|
| FZoneGraphTagMask | |||
| void | OnUnregister () |
||
| void | PostEditChangeChainProperty
(
FPropertyChangedChainEvent& PropertyChangedEvent |
||
| void | Called during OnRegister(), or after all subsystems have been initialized. | ||
| void | PostZoneGraphDataAdded
(
const AZoneGraphData& ZoneGraphData |
Called when new ZoneGraph data is added. | |
| void | PreZoneGraphDataRemoved
(
const AZoneGraphData& ZoneGraphData |
Called when new ZoneGraph data is removed. | |
| void | TickAnnotation
(
const float DeltaTime, |
Ticks the Annotation and changes the tags in the container when needed. |