Navigation
API > API/Plugins > API/Plugins/MassSmartObjects
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- USceneComponent
- UPrimitiveComponent
- UDebugDrawComponent
- UZoneGraphAnnotationComponent
- USmartObjectZoneAnnotations
References
| Module | MassSmartObjects |
| Header | /Engine/Plugins/Runtime/MassGameplay/Source/MassSmartObjects/Public/SmartObjectZoneAnnotations.h |
| Include | #include "SmartObjectZoneAnnotations.h" |
Syntax
UCLASS&40;ClassGroup&61;AI, BlueprintType, Meta&61;&40;BlueprintSpawnableComponent&41;&41;
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, |
Overridden from UZoneGraphAnnotationComponent
| Type | Name | Description | |
|---|---|---|---|
| void | DebugDraw
(
FZoneGraphAnnotationSceneProxy* DebugProxy |
Called when scene proxy is rebuilt. | |
| FZoneGraphTagMask | |||
| 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. |
Overridden from UActorComponent
| Type | Name | Description | |
|---|---|---|---|
| void | OnUnregister () |
Called when a component is unregistered. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeChainProperty
(
FPropertyChangedChainEvent& PropertyChangedEvent |
This alternate version of PostEditChange is called when properties inside structs are modified. | |
| void | Handles reading, writing, and reference collecting using FArchive. |