Navigation
API > API/Plugins > API/Plugins/MassCrowd > API/Plugins/MassCrowd/UMassCrowdSubsystem
Description
Returns the readonly runtime data associated to a given zone graph.
Method will ensure if DataHandle is invalid or if associated data doesn't exist. Should call HasCrowdDataForZoneGraph first.
| Name | GetCrowdData |
| Type | function |
| Header File | /Engine/Plugins/AI/MassCrowd/Source/MassCrowd/Public/MassCrowdSubsystem.h |
| Include Path | #include "MassCrowdSubsystem.h" |
| Source | /Engine/Plugins/AI/MassCrowd/Source/MassCrowd/Private/MassCrowdSubsystem.cpp |
const FRegisteredCrowdLaneData * GetCrowdData
(
const FZoneGraphDataHandle DataHandle
) const
Runtime data associated to the zone graph if available; nullptr otherwise
Parameters
| Name | Remarks |
|---|---|
| DataHandle | A valid handle of the zone graph used to retrieve the runtime crowd data |