Saltar al contenido principal

Kit wp

10 herramientas. Generado a partir del código fuente del plugin; no lo edites a mano.

Las descripciones de las herramientas y de los argumentos se muestran en inglés porque reflejan el schema de las herramientas (el mismo texto que el agente recibe en tools/list).

Herramientas​

Leyenda. riesgo 0 = solo lectura, 1 = operación inofensiva del editor, 2 = modifica un asset, 3 = elimina/reemplaza un asset, 4 = proyecto/configuración/build, 5 = potencialmente destructivo (las llamadas por encima de MaxAutoRisk requieren "_confirm": true). modifica = se ejecuta en una transacción (edit.undo la revierte). requiere PIE / requiere mundo = se rechaza sin una sesión PIE / sin un nivel abierto. requiere el plugin = no disponible cuando el plugin está desactivado. dryRun = acepta el argumento dryRun. smoke = cubierto por edit.self_test.

wp.audit_hlod_assignments (riesgo 0, UE 5.0+, requiere mundo, smoke)​

Counts loaded actors assigned to each HLOD layer and flags assignments that need review.

Sin argumentos.

Devuelve: actorCount, actorsWithHlodLayer, externalActorCount, layerActors, warnings.

wp.audit_spatial_actors (riesgo 0, UE 5.0+, requiere mundo, smoke)​

Reports spatial versus always-loaded actors and their named runtime-grid distribution.

Sin argumentos.

Devuelve: spatiallyLoadedActorCount, alwaysLoadedActorCount, runtimeGrids, defaultGridActorCount, warnings.

wp.generate_streaming (riesgo 4, modifica, UE 5.3+, requiere mundo, smoke)​

Runs World Partition streaming generation on the open world as a validation pass (the engine writes a generation log under Saved/Logs/WorldPartition), then flushes the generated cells so the editor world is unchanged.

Sin argumentos.

Devuelve: partitioned, streamingEnabled, canGenerateStreaming, message.

wp.get_hlod_layer_settings (riesgo 0, UE 5.0+, requiere mundo, smoke)​

Reads one HLOD layer's public generation and runtime-grid settings.

ArgumentoTipoDescripción
layerstringobligatorio. HLOD layer asset path.

Devuelve: layer, layerType, builderClass, parentLayer, spatiallyLoaded, cellSize, loadingRange, message.

wp.get_overview (riesgo 0, UE 5.0+, requiere mundo, smoke)​

Reports World Partition implementation and loaded-actor streaming distribution without changing the level.

Sin argumentos.

Devuelve: world, partitioned, streamingEnabled, streamingEnabledInEditor, partitionClass, loadedActorCount, externalActorCount, spatiallyLoadedActorCount, alwaysLoadedActorCount, runtimeGridActors, message.

wp.get_runtime_data_layer (riesgo 0, UE 5.3+, requiere PIE, requiere mundo)​

Gets the PIE effective runtime state of one data layer without changing its editor configuration.

ArgumentoTipoDescripción
dataLayerstringobligatorio. Runtime data layer instance name in the PIE world.
includeEffectiveSetsbooleanInclude active and loaded effective-name sets in the reply. Valor predeterminado true.

Devuelve: dataLayer, runtime, requestedState, currentState, effectiveState, effectiveActive, effectiveLoaded, message.

wp.get_streaming (riesgo 0, UE 5.3+, requiere mundo, smoke)​

Reports runtime streaming state and whether streaming data can be regenerated.

Sin argumentos.

Devuelve: partitioned, streamingEnabled, canGenerateStreaming, message.

wp.list_runtime_data_layers (riesgo 0, UE 5.3+, requiere PIE, requiere mundo, smoke)​

Lists requested and effective states for all runtime and editor data-layer instances in PIE.

Sin argumentos.

Devuelve: dataLayers, effectiveActive, effectiveLoaded, count.

wp.set_runtime_data_layer_state (riesgo 1, modifica, UE 5.3+, requiere PIE, requiere mundo)​

Changes a runtime data layer state in PIE; the change is transient and does not edit the data-layer asset.

ArgumentoTipoDescripción
dataLayerstringobligatorio. Runtime data layer instance name in the PIE world.
statestringobligatorio. "unloaded", "loaded", or "activated".
recursivebooleanAlso apply the state to child data layers. Valor predeterminado false.

Devuelve: dataLayer, runtime, requestedState, currentState, effectiveState, effectiveActive, effectiveLoaded, message.

wp.set_streaming (riesgo 1, modifica, UE 5.3+, requiere mundo, smoke)​

Enables or disables streaming on the open World Partition world; this changes the map setting.

ArgumentoTipoDescripción
enabledbooleanobligatorio. Enable or disable World Partition streaming for the editor world.

Devuelve: partitioned, streamingEnabled, canGenerateStreaming, message.