Navigation
API > API/Plugins > API/Plugins/GeometryScriptingEditor > API/Plugins/GeometryScriptingEditor/GeometryActors
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- USubsystem
- UDynamicSubsystem
- UEditorSubsystem
- UEditorGeometryGenerationSubsystem
References
| Module | GeometryScriptingEditor |
| Header | /Engine/Plugins/Experimental/GeometryScripting/Source/GeometryScriptingEditor/Public/GeometryActors/EditorGeometryGenerationSubsystem.h |
| Include | #include "GeometryActors/EditorGeometryGenerationSubsystem.h" |
Syntax
UCLASS&40;&41;
class UEditorGeometryGenerationSubsystem : public UEditorSubsystem
Remarks
UEditorGeometryGenerationSubsystem manages recomputation of "generated" mesh actors, eg to provide procedural mesh generation in-Editor. Generally such procedural mesh generation is expensive, and if many objects need to be generated, the regeneration needs to be managed at a higher level to ensure that the Editor remains responsive/interactive.
AGeneratedDynamicMeshActors register themselves with this Subsystem, and allow the Subsystem to tell them when they should regenerate themselves (if necessary). The current behavior is to run all pending generations on a Tick, however in future this regeneration will be more carefully managed via throttling / timeslicing / etc.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< UEditorGeometryGenerationManager > | GenerationManager |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | OnShutdown () |
Callback connected to engine/editor shutdown events to set bIsShuttingDown, which disables the subsystem static functions above | |
| bool | Static functions that simplify registration of an Actor w/ the Subsystem | ||
| void |
Overridden from USubsystem
| Type | Name | Description | |
|---|---|---|---|
| void | Deinitialize () |
Implement this for deinitialization of instances of the system | |
| void | Initialize
(
FSubsystemCollectionBase& Collection |
Implement this for initialization of instances of the system |
Constants
| Name | Description |
|---|---|
| bIsShuttingDown |