World Editor version of Socket Spawner Plugin Uses WorldEditor API for resource selection instead of ResourceManager.
More...
|
| override void | GetSelectedResources (out array< ResourceName > selectedResources) |
| | Override to use WorldEditor API for resource selection instead of ResourceManager.
|
| |
| void | Execute () |
| | Execute button handler - triggers the plugin execution.
|
| |
| bool | Close () |
| | Close button handler - closes the configuration dialog.
|
| |
| bool | ProcessSelectedPrefabs (out array< ResourceName > outPrefabs) |
| | Collect selected resources from Resource Browser and filter to .et prefabs.
|
| |
| bool | ProcessSinglePrefab (ResourceName prefabResource, WorldEditor worldEditor, bool clearExistingChildren) |
| | Process a single prefab: create temp entity, optionally clear children, scan bones, spawn children.
|
| |
| bool | RefreshBoneMatrixMap (notnull IEntitySource entitySource, notnull out map< string, ref array< vector > > boneMatrixMap, WorldEditorAPI api) |
| | Build a map of bone names to their transformation matrices from entity animation data Based on RefreshBoneMatrixMap pattern used in SCR_PrefabSocketProcessorPlugin.c.
|
| |
| bool | ExtractGuidFromBoneName (string boneName, out string guid16, out string suffix) |
| | Extract GUID16 from bone name pattern: "socket_<GUID16>_<suffix>" (case-insensitive)
|
| |
| bool | CreateEntityAtBone (string boneName, string guid16, vector position, array< vector > boneMatrix, WorldEditor worldEditor, IEntitySource parentEntitySource) |
| | Create a child entity at a bone location using GUID-based ResourceName "{GUID16}".
|
| |
| void | ShowResults () |
| | Display results summary in console and dialog box.
|
| |
World Editor version of Socket Spawner Plugin Uses WorldEditor API for resource selection instead of ResourceManager.
◆ GetSelectedResources()
| override void SCR_SocketSpawnerPluginWE.GetSelectedResources |
( |
out array< ResourceName > | selectedResources | ) |
|
|
protected |
Override to use WorldEditor API for resource selection instead of ResourceManager.
- Parameters
-
| selectedResources | Output array to receive selected resource names |
Implements SCR_SocketSpawnerPlugin.
The documentation for this interface was generated from the following file:
- WorkbenchGame/ResourceManager/SCR_SocketSpawnerPlugin.c