Navigation
API > API/Plugins > API/Plugins/InstancedActors
Inheritance Hierarchy
- UObject
- UMassProcessor
- UInstancedActorsVisualizationSwitcherProcessor
References
| Module | InstancedActors |
| Header | /Engine/Plugins/Runtime/InstancedActors/Source/InstancedActors/Public/InstancedActorsVisualizationSwitcherProcessor.h |
| Include | #include "InstancedActorsVisualizationSwitcherProcessor.h" |
Syntax
UCLASS (MinimalAPI)
class UInstancedActorsVisualizationSwitcherProcessor : public UMassProcessor
Remarks
Executes on entities with FInstancedActorsMeshSwitchFragment's, processing them as `pending requests_ to switch to the specified NewStaticMeshDescHandle, then removing the fragments once complete
Variables
| Type | Name | Description | |
|---|---|---|---|
| FMassEntityQuery | EntityQuery |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| void | Execute
(
FMassEntityManager& EntityManager, |
||
| void | SwitchEntityMeshDesc
(
FMassInstancedStaticMeshInfoArrayView& ISMInfosView, |
Switch EntityHandle to NewStaticMeshDescHandle by removing any current / previous ISMC instances for the current StaticMeshDescIHandle and setting RepresentationFragment.PrevRepresentation = EMassRepresentationType::None to let the subsequent UMassStationaryISMSwitcherProcessor see that a new isntance needs to be added for the now set NewStaticMeshDescHandle |