Pular para o conteúdo principal

Kit wp

10 ferramentas. Gerado a partir do código-fonte do plugin; não edite manualmente.

As descrições das ferramentas e dos argumentos são exibidas em inglês porque espelham o schema das ferramentas (o mesmo texto que o agente recebe em tools/list).

Ferramentas​

Legenda. risco 0 = somente leitura, 1 = operação inofensiva do editor, 2 = altera asset, 3 = apaga/substitui asset, 4 = projeto/config/build, 5 = potencialmente destrutivo (chamadas acima de MaxAutoRisk exigem "_confirm": true). altera = roda numa transação (edit.undo reverte). requer PIE / requer mundo = recusado sem sessão PIE / sem nível aberto. requer plugin = indisponível quando o plugin está desativado. dryRun = aceita o argumento dryRun. smoke = coberto por edit.self_test.

wp.audit_hlod_assignments (risco 0, UE 5.0+, requer mundo, smoke)​

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

Sem argumentos.

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

wp.audit_spatial_actors (risco 0, UE 5.0+, requer mundo, smoke)​

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

Sem argumentos.

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

wp.generate_streaming (risco 4, altera, UE 5.3+, requer 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.

Sem argumentos.

Retorna: partitioned, streamingEnabled, canGenerateStreaming, message.

wp.get_hlod_layer_settings (risco 0, UE 5.0+, requer mundo, smoke)​

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

ArgumentoTipoDescrição
layerstringobrigatório. HLOD layer asset path.

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

wp.get_overview (risco 0, UE 5.0+, requer mundo, smoke)​

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

Sem argumentos.

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

wp.get_runtime_data_layer (risco 0, UE 5.3+, requer PIE, requer mundo)​

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

ArgumentoTipoDescrição
dataLayerstringobrigatório. Runtime data layer instance name in the PIE world.
includeEffectiveSetsbooleanInclude active and loaded effective-name sets in the reply. Padrão true.

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

wp.get_streaming (risco 0, UE 5.3+, requer mundo, smoke)​

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

Sem argumentos.

Retorna: partitioned, streamingEnabled, canGenerateStreaming, message.

wp.list_runtime_data_layers (risco 0, UE 5.3+, requer PIE, requer mundo, smoke)​

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

Sem argumentos.

Retorna: dataLayers, effectiveActive, effectiveLoaded, count.

wp.set_runtime_data_layer_state (risco 1, altera, UE 5.3+, requer PIE, requer mundo)​

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

ArgumentoTipoDescrição
dataLayerstringobrigatório. Runtime data layer instance name in the PIE world.
statestringobrigatório. "unloaded", "loaded", or "activated".
recursivebooleanAlso apply the state to child data layers. Padrão false.

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

wp.set_streaming (risco 1, altera, UE 5.3+, requer mundo, smoke)​

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

ArgumentoTipoDescrição
enabledbooleanobrigatório. Enable or disable World Partition streaming for the editor world.

Retorna: partitioned, streamingEnabled, canGenerateStreaming, message.