Kit landscape
149 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).
Guía
The landscape kit creates and edits ALandscape actors of the editor world without opening
Landscape Mode: heights, paint layers and weights, holes, edit layers, splines and grass types.
Everything goes through public engine APIs (ALandscapeProxy::Import, FLandscapeEditDataInterface,
ULandscapeInfo, ALandscape edit-layer calls, ULandscapeSplinesComponent). Water bodies are in
the separate water kit (Water plugin).
Conventions:
landscapeis the actor label, object name or path; read-only calls may omit it when the level has exactly one landscape. Start withlandscape.list/landscape.get.- Region and brush coordinates are landscape vertex coordinates (0..N, inclusive regions), not
world centimetres.
landscape.getreturns the vertex bounds; regions outside them are rejected. - Heights are landscape uint16 values (32768 = zero); weights are 0..255.
- On a landscape with edit layers, height and weight tools write the active edit layer
(
landscape.set_active_edit_layer), or the first edit layer when none is active — never the merged result, so edits survive the next layer merge.
1. Create, inspect and sculpt
Coordinates: sculpt tools use landscape vertex coordinates and uint16 heights (32768 = actor Z;
one unit = scale.Z/128 cm). Convert with landscape.world_to_vertex / vertex_to_world, or query
in world units with landscape.sample_world (up to 1024 XY points → surface Z, normal, slope) and
landscape.line_trace (this landscape's collision only; call update_collision after edits).
Building terrain from data: landscape.create_from_height_array takes a row-major height array of
exactly (componentsX·sectionsPerComponent·sectionSizeQuads+1)² values; pass replace to rebuild an
existing landscape in place, keeping its label, transform, material and settings.
landscape.resample changes resolution but keeps the footprint (heights and paint weights
resampled, X/Y scale adjusted). landscape.resize changes the component count (anchor
corner|center, fillHeight or edge extension). landscape.duplicate copies heights, weights,
material and settings to a new actor at offset. All four refuse world-partition landscapes (see
list_proxies) and read only the first edit layer.
Shaping: stamp_shape (hill/cone/plateau/crater), flatten_path (road bed along a polyline; point
z = target height or -1 to follow the terrain), stamp_height_region (set/add/max/min a block),
noise_region (Perlin noise with seed/octaves/frequency), erode_region (thermal),
scale_region, clamp_region, copy_region (also between landscapes), mirror_region
(symmetric maps). Finish with recalc_normals, update_collision, rebuild_bounds.
Analysis: slope_map (degrees grid plus steep fraction), height_histogram, find_flat_spots
(flattest vertices within slope/height limits, with world positions), get_bounds.
Settings: typed setters for LOD, lighting, collision (profile/overlap), navigation, rendering,
virtual textures, bounds extension, physical material and hole material. Negative numbers and
empty strings leave a value unchanged. Per-component: get_component_settings and
set_component_{lod,lighting,collision_mip,bounds_extension,material_override} with
sectionBaseX/Y or allComponents.
2. Paint layers and layer infos
A paint layer is a name backed by a ULandscapeLayerInfoObject asset. The landscape material
decides which layer names it blends (Landscape Layer Blend nodes); the layer infos store the weights.
landscape.create_layer_info {folder, name, weightBlended}creates the asset; its paint-layer name is the asset name.landscape.add_paint_layer {landscape, layerInfo}assigns it (target layer on 5.5+, editor layer settings before).landscape.auto_create_layer_infos {landscape, folder, names}creates<Layer>_LayerInfoassets and assigns them — for the givennames, or for every layer of the landscape material whennamesis empty. Layers that already have an info are listed inskipped.landscape.list_layerslists names, assets and blend mode;landscape.validate_layerswarns about layers without an info and material layers that are not assigned.landscape.replace_layer_info {landscape, layer, layerInfo}swaps the asset behind a layer; the painted weights move to the new info (it must not already be assigned).landscape.remove_layer_info {landscape, layer}deletes the layer's weights and unassigns it (the asset stays).
3. Weights and holes
- Read:
landscape.get_weight(min/max/average over a region),landscape.get_weight_grid(row-major 0..255 values, at most 65536 vertices per call). - Write:
paint_layer_region(constant box),paint_layer_circle(disc withfalloff0..1 of the radius; vertices outside the disc keep their weight),paint_layer_gradient(axisx or y),set_weight_grid(row-major values, the inverse ofget_weight_grid),fill_layer(whole landscape),clear_layer(deletes the layer's weights, keeps the layer). - Weight-blended layers renormalise the other weight-blended layers of the same vertices, exactly as in Landscape Mode.
- Holes:
landscape.set_visibility_layer {landscape, minX..maxY, hidden}writes the engine visibility layer (hidden:truecuts,falserestores). Holes render only with a material that has a Landscape Visibility Mask. - Files:
landscape.export_weightmap {landscape, layer, file}writes.pngor.rawthrough the engine exporter;landscape.import_weightmap {landscape, layer, file, minX, minY, width}reads an 8-bit.raw(row-major;widthdefaults to the landscape width, height = size / width). PNG import is not offered (no public decoder in the kit's dependencies).
4. Edit layers
UE 5.7+ landscapes always have edit layers. On older engines a landscape created without them needs
landscape.enable_edit_layers (UE 4.27–5.6; converts the existing data into a default layer).
landscape.list_edit_layers— bottom-to-top stack withvisible,locked,heightmapAlpha,weightmapAlpha,active,typeand blueprintbrushes.add_edit_layer {name}(the engine makes names unique; readeditLayer.name),remove_edit_layer(not the last one; clears the active selection if it pointed there),rename_edit_layer,reorder_edit_layer {layer, newIndex},set_active_edit_layer {layer}(empty clears),set_edit_layer_alpha {layer, alpha, target:'heightmap'|'weightmap'}(heightmap -1..1, weightmap 0..1),set_edit_layer_locked,set_edit_layer_visible(enabled),clear_edit_layer {heightmap, weightmap}(refused on a locked layer).landscape.list_blueprint_brusheslists theALandscapeBlueprintBrushBaseactors per layer (Water bodies appear here when they carve the landscape).
5. Splines
Control points and segments live in the landscape's ULandscapeSplinesComponent (created on the
first point). Locations are landscape-local centimetres; indices come from spline_list and
spline_list_segments and shift down after removals.
- Points:
spline_add_point,spline_set_point_transform(move/rotate),spline_set_width,spline_set_side_falloff,spline_set_point_settings(paint layer, raise/lower terrain, end falloff, mesh offset, point mesh — all fields written),spline_get_point,spline_list,spline_remove_point(also removes its segments). - Segments:
spline_connect {startIndex, endIndex, startTangent, endTangent, layerName}(0 tangents = half the point distance with automatic flipping),spline_list_segments,spline_get_segment,spline_set_segment_tangents,spline_set_segment(paint layer, raise/lower),spline_set_mesh_entries(complete list of{mesh, scale, scaleToWidth, centerH, forwardAxis, upAxis}; empty clears),spline_remove_segment. - Whole network:
spline_import_points {points, connect, closedLoop, layerName}appends a chain,spline_export_pointsreturns points + segments (feedpointsback to import),spline_rebuild(meshes and collision),spline_apply(rasterises raise/lower and layer painting into the landscape — the splines edit layer when present;applied:falsemeans nothing changed),spline_clear.
6. Grass
- Types:
grass_create_type {folder, name},grass_list_types {folder},grass_get_type(every variety, typed),grass_audit_type,grass_set_density_scaling. - Varieties (by
index):grass_add_variety {mesh, density},grass_remove_variety,grass_get_variety(every reflected property as text),grass_set_variety {settings:[{key,value}]}(FGrassVariety names, dotted paths such asGrassDensity.Default,ScaleX.Min; all keys are validated first and a parse error restores the variety),grass_set_scale(Uniform/Free/LockXY + ranges), and typed settersgrass_set_density,set_start_cull,set_end_cull,set_min_lod,set_jitter,set_random_rotation,set_align_to_surface,set_grid,set_receive_decals,set_dynamic_shadow,set_contact_shadow(5.0+),set_landscape_lightmap,set_cpu_copy. - Materials: grass is spawned from a Landscape Grass Output node in the landscape material.
landscape.list_grass_outputs {material | landscape}lists its pins and assigned grass types (edit the node with thematerialkit).landscape.grass_flushdrops cached grass so it regenerates.
Recipes
Layered terrain in eight calls.
landscape.create {name:'Terrain', componentsX:4, componentsY:4, sectionSizeQuads:63}.- Sculpt with the region tools of section 1 (noise, terrace, smooth).
landscape.set_material {landscape:'Terrain', material:'/Game/M_Landscape'}(a layered material).landscape.auto_create_layer_infos {landscape:'Terrain', folder:'/Game/Landscape/Layers'}.landscape.fill_layer {landscape:'Terrain', layer:'Grass'}.landscape.paint_layer_circle {landscape:'Terrain', layer:'Rock', centerX:100, centerY:100, radius:30, weight:255, falloff:0.5}.landscape.spline_import_points {landscape:'Terrain', points:[...], connect:true, layerName:'Dirt'}.landscape.spline_apply {landscape:'Terrain'}, thenlandscape.validate_layers.
Weight round trip. get_weight_grid a tile, change values, set_weight_grid with the same
origin and width. For whole-landscape transfers use export_weightmap (.raw) and
import_weightmap.
Non-destructive edits. add_edit_layer {name:'Roads'} → set_active_edit_layer {layer:'Roads'}
→ sculpt/paint → set_edit_layer_alpha to blend it, set_edit_layer_visible {enabled:false} to
compare, clear_edit_layer to start over.
Gotchas
- Layer names are case-sensitive
FNames taken from the layer-info asset;create_layer_infonames the layer after the asset,auto_create_layer_infosafter the requested name. - Painting is visible only when the landscape material has a matching layer; weights are stored regardless.
remove_layer_info,replace_layer_infoandenable_edit_layersrun engine operations that may show a short progress bar; they do not open dialogs.- Spline indices are positions in the component arrays: re-read
spline_list/spline_list_segmentsafter removing points or segments. enable_edit_layersis hidden on UE 5.7+, where every landscape already has edit layers.
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
MaxAutoRiskrequieren"_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 argumentodryRun. smoke = cubierto poredit.self_test.
landscape.add_edit_layer (riesgo 2, modifica, requiere mundo, smoke)
Adds a standard edit layer on top of the stack; the reply's editLayer carries the (uniquified) name.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
name | string | obligatorio. Requested name; the engine makes it unique. |
Devuelve: editLayers, count, editLayer.
landscape.add_height_region (riesgo 2, modifica, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
minX | integer | Inclusive minimum X vertex. Valor predeterminado 0. |
minY | integer | Inclusive minimum Y vertex. Valor predeterminado 0. |
maxX | integer | Inclusive maximum X vertex. Valor predeterminado 0. |
maxY | integer | Inclusive maximum Y vertex. Valor predeterminado 0. |
delta | integer | Height delta in landscape uint16 units. Valor predeterminado 0. |
Devuelve: landscape, message.
landscape.add_paint_layer (riesgo 2, modifica, requiere mundo, smoke)
Assigns a layer-info asset to the landscape as a paint layer (the layer name comes from the asset). Returns the paint layers.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
layerInfo | string | obligatorio. Layer-info asset path (see create_layer_info). |
Devuelve: layers, count.
landscape.area_statistics (riesgo 0, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
minX | integer | Inclusive minimum X vertex. Valor predeterminado 0. |
minY | integer | Inclusive minimum Y vertex. Valor predeterminado 0. |
maxX | integer | Inclusive maximum X vertex. Valor predeterminado 0. |
maxY | integer | Inclusive maximum Y vertex. Valor predeterminado 0. |
step | integer | Sampling interval in vertices. Valor predeterminado 1. |
Devuelve: samples, minHeight, maxHeight, averageHeight, maxSlope, averageSlope.
landscape.audit (riesgo 0, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | Landscape actor label, name, or path. Empty selects the only landscape. |
Devuelve: components, layers, hasMaterial, outdatedGrassMaps, warnings.
landscape.auto_create_layer_infos (riesgo 2, modifica, requiere mundo, smoke)
Creates
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
folder | string | obligatorio. Content folder for the new |
names | array of string | Layer names to create; empty uses every layer declared by the landscape material. |
weightBlended | boolean | Weight-blended layer infos when true. Valor predeterminado true. |
Devuelve: created, skipped, layers.
landscape.brush_flatten (riesgo 2, modifica, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
centerX | integer | Brush centre X in landscape vertex coordinates. Valor predeterminado 0. |
centerY | integer | Brush centre Y in landscape vertex coordinates. Valor predeterminado 0. |
radius | integer | Brush radius in vertices. Valor predeterminado 8. |
strength | integer | Signed height strength in uint16 units. Valor predeterminado 128. |
falloff | number | Edge falloff from 0 (hard) through 1 (linear). Valor predeterminado 1.0. |
targetHeight | integer | Absolute target height for flatten and terrace tools. Valor predeterminado 32768. |
seed | integer | Deterministic noise seed. Valor predeterminado 0. |
terraceStep | integer | Terrace step height in uint16 units. Valor predeterminado 256. |
Devuelve: landscape, message.
landscape.brush_lower (riesgo 2, modifica, requiere mundo, smoke)
Lowers a circle by strength with falloff.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
centerX | integer | Brush centre X in landscape vertex coordinates. Valor predeterminado 0. |
centerY | integer | Brush centre Y in landscape vertex coordinates. Valor predeterminado 0. |
radius | integer | Brush radius in vertices. Valor predeterminado 8. |
strength | integer | Signed height strength in uint16 units. Valor predeterminado 128. |
falloff | number | Edge falloff from 0 (hard) through 1 (linear). Valor predeterminado 1.0. |
targetHeight | integer | Absolute target height for flatten and terrace tools. Valor predeterminado 32768. |
seed | integer | Deterministic noise seed. Valor predeterminado 0. |
terraceStep | integer | Terrace step height in uint16 units. Valor predeterminado 256. |
Devuelve: landscape, message.
landscape.brush_raise (riesgo 2, modifica, requiere mundo, smoke)
Raises a circle by strength with falloff (the circular raise brush).
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
centerX | integer | Brush centre X in landscape vertex coordinates. Valor predeterminado 0. |
centerY | integer | Brush centre Y in landscape vertex coordinates. Valor predeterminado 0. |
radius | integer | Brush radius in vertices. Valor predeterminado 8. |
strength | integer | Signed height strength in uint16 units. Valor predeterminado 128. |
falloff | number | Edge falloff from 0 (hard) through 1 (linear). Valor predeterminado 1.0. |
targetHeight | integer | Absolute target height for flatten and terrace tools. Valor predeterminado 32768. |
seed | integer | Deterministic noise seed. Valor predeterminado 0. |
terraceStep | integer | Terrace step height in uint16 units. Valor predeterminado 256. |
Devuelve: landscape, message.
landscape.brush_smooth (riesgo 2, modifica, requiere mundo, smoke)
Circular smoothing weighted by the brush falloff.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
centerX | integer | Brush centre X in landscape vertex coordinates. Valor predeterminado 0. |
centerY | integer | Brush centre Y in landscape vertex coordinates. Valor predeterminado 0. |
radius | integer | Brush radius in vertices. Valor predeterminado 8. |
strength | integer | Signed height strength in uint16 units. Valor predeterminado 128. |
falloff | number | Edge falloff from 0 (hard) through 1 (linear). Valor predeterminado 1.0. |
targetHeight | integer | Absolute target height for flatten and terrace tools. Valor predeterminado 32768. |
seed | integer | Deterministic noise seed. Valor predeterminado 0. |
terraceStep | integer | Terrace step height in uint16 units. Valor predeterminado 256. |
Devuelve: landscape, message.
landscape.clamp_region (riesgo 2, modifica, requiere mundo, smoke)
Clamps the heights of a region into [minHeight, maxHeight].
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
minX | integer | Inclusive minimum X vertex. Valor predeterminado 0. |
minY | integer | Inclusive minimum Y vertex. Valor predeterminado 0. |
maxX | integer | Inclusive maximum X vertex. Valor predeterminado 0. |
maxY | integer | Inclusive maximum Y vertex. Valor predeterminado 0. |
minHeight | integer | Lowest allowed uint16 height. Valor predeterminado 0. |
maxHeight | integer | Highest allowed uint16 height. Valor predeterminado 65535. |
Devuelve: landscape, message.
landscape.clear_edit_layer (riesgo 2, modifica, requiere mundo, smoke)
Clears the sculpted heights and/or painted weights of one edit layer.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
layer | string | obligatorio. Edit layer name. |
heightmap | boolean | Clear sculpted heights. Valor predeterminado true. |
weightmap | boolean | Clear painted weights and holes. Valor predeterminado true. |
Devuelve: editLayers, count, editLayer.
landscape.clear_layer (riesgo 2, modifica, requiere mundo, smoke)
Deletes every painted weight of a paint layer; the layer stays assigned.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
layer | string | obligatorio. Landscape paint layer name. |
Devuelve: landscape, message.
landscape.copy_region (riesgo 2, modifica, requiere mundo, smoke)
Copies a height block to another place, optionally from another landscape.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Target landscape. |
sourceLandscape | string | Source landscape; empty = the target. |
sourceMinX | integer | Source inclusive minimum X. Valor predeterminado 0. |
sourceMinY | integer | Source inclusive minimum Y. Valor predeterminado 0. |
sourceMaxX | integer | Source inclusive maximum X. Valor predeterminado 0. |
sourceMaxY | integer | Source inclusive maximum Y. Valor predeterminado 0. |
destX | integer | Target X of the source's first column. Valor predeterminado 0. |
destY | integer | Target Y of the source's first row. Valor predeterminado 0. |
Devuelve: landscape, message.
landscape.create (riesgo 2, modifica, requiere mundo, smoke)
Creates a flat landscape (height 32768) without Landscape Mode. Smallest: 1x1 components, 7 quads.
| Argumento | Tipo | Descripción |
|---|---|---|
name | string | obligatorio. Outliner label. |
componentsX | integer | Component count in X (1..32). Valor predeterminado 1. |
componentsY | integer | Component count in Y (1..32). Valor predeterminado 1. |
sectionSizeQuads | integer | Quads in each subsection: 7,15,31,63,127,255. Valor predeterminado 7. |
sectionsPerComponent | integer | One or two subsections per component. Valor predeterminado 1. |
location | {x,y,z} | Actor location in cm. |
scale | {x,y,z} | Actor scale; 100 means one metre per quad. Valor predeterminado FUeaVec3(100,100,100). |
Devuelve: landscape, message.
landscape.create_from_height_array (riesgo 2, modifica, requiere mundo, smoke)
Creates a landscape from a row-major uint16 height array, or rebuilds an existing one (replace) keeping its transform, material and settings.
| Argumento | Tipo | Descripción |
|---|---|---|
name | string | Outliner label of the new landscape; empty keeps the replaced landscape's label. |
replace | string | Existing landscape to rebuild from the array: its transform, material and settings are kept, location/rotation/scale/material args are ignored, and the old actor is destroyed. |
componentsX | integer | Component count in X (1..32). Valor predeterminado 1. |
componentsY | integer | Component count in Y (1..32). Valor predeterminado 1. |
sectionSizeQuads | integer | Quads per section: 7, 15, 31, 63, 127 or 255. Valor predeterminado 7. |
sectionsPerComponent | integer | Sections per component axis: 1 or 2. Valor predeterminado 1. |
location | {x,y,z} | Actor location in cm (new landscapes only). |
rotation | {x,y,z} | Actor rotation in degrees (new landscapes only). |
scale | {x,y,z} | Actor scale (new landscapes only); 100 = one metre per quad. Valor predeterminado FUeaVec3(100,100,100). |
heights | array of integer | obligatorio. Row-major uint16 heights (0..65535, 32768 = actor Z): exactly (componentsXsectionsPerComponentsectionSizeQuads+1) x (same for Y) values. |
material | string | Optional landscape material asset path (new landscapes only). |
Devuelve: landscape, oldVertsX, oldVertsY, newVertsX, newVertsY, copiedLayers, skippedLayers, copiedSettings, dryRun, changedActors, message.
landscape.create_layer_info (riesgo 2, modifica, smoke)
Creates a ULandscapeLayerInfoObject asset
| Argumento | Tipo | Descripción |
|---|---|---|
folder | string | obligatorio. Content folder. |
name | string | obligatorio. Bare layer-info asset name. |
weightBlended | boolean | Weight-blended layer when true. Valor predeterminado true. |
Devuelve: asset, message.
landscape.delete (riesgo 3, modifica, destructivo, requiere mundo, smoke)
Deletes a landscape actor. Declared on the last landscape class so the self-test removes its shared fixture only after every landscape theme ran.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | Landscape actor label, name, or path. Empty selects the only landscape. |
Devuelve: landscape, message.
landscape.duplicate (riesgo 2, modifica, requiere mundo, dryRun, smoke)
Copies a landscape (heights, paint weights, material, settings) to a new actor at an offset.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Source landscape reference. |
name | string | obligatorio. Label of the copy. |
offset | {x,y,z} | World offset of the copy in cm from the source location. |
copyLayers | boolean | Copy paint-layer weights (layers with an assigned layer-info asset). Valor predeterminado true. |
dryRun | boolean | Only validate and report what would be created. Valor predeterminado false. |
Devuelve: landscape, oldVertsX, oldVertsY, newVertsX, newVertsY, copiedLayers, skippedLayers, copiedSettings, dryRun, changedActors, message.
landscape.enable_edit_layers (riesgo 2, modifica, UE ≤5.6, requiere mundo, smoke)
Converts a landscape without edit layers to edit layers (UE 5.6 and older; newer landscapes always have them). Returns the edit layers.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | Landscape actor label, name, or path. Empty selects the only landscape. |
Devuelve: editLayers, count, editLayer.
landscape.erode_region (riesgo 2, modifica, requiere mundo, smoke)
Thermal erosion: material slides from steep neighbours until slopes fall under the talus threshold.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
minX | integer | Inclusive minimum X vertex. Valor predeterminado 0. |
minY | integer | Inclusive minimum Y vertex. Valor predeterminado 0. |
maxX | integer | Inclusive maximum X vertex. Valor predeterminado 0. |
maxY | integer | Inclusive maximum Y vertex. Valor predeterminado 0. |
iterations | integer | Passes 1..50. Valor predeterminado 5. |
talus | integer | Height difference (uint16) a neighbour may exceed before material slides. Valor predeterminado 64. |
rate | number | Fraction of the excess moved per pass, 0..0.5. Valor predeterminado 0.25. |
Devuelve: landscape, message.
landscape.export_heightmap (riesgo 0, requiere mundo)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
file | string | obligatorio. Absolute output file path. |
Devuelve: landscape, message.
landscape.export_weightmap (riesgo 0, requiere mundo)
Exports a paint layer's weightmap to an absolute .png or .raw path (engine ULandscapeInfo::ExportLayer).
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
layer | string | obligatorio. Assigned paint layer name. |
file | string | obligatorio. Absolute file path (.png or .raw on export; 8-bit .raw on import). |
minX | integer | Import only: region origin X vertex. Valor predeterminado 0. |
minY | integer | Import only: region origin Y vertex. Valor predeterminado 0. |
width | integer | Import only: raw image width in pixels; 0 uses the landscape width. Valor predeterminado 0. |
Devuelve: landscape, message.
landscape.fill_layer (riesgo 2, modifica, requiere mundo, smoke)
Fills the whole landscape with a paint layer at full weight.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
layer | string | obligatorio. Landscape paint layer name. |
Devuelve: landscape, message.
landscape.find_flat_spots (riesgo 0, requiere mundo, smoke)
Finds flat vertices (slope and height filters) for placing buildings, spawns or props; flattest first.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
minX | integer | Inclusive minimum X vertex. Valor predeterminado 0. |
minY | integer | Inclusive minimum Y vertex. Valor predeterminado 0. |
maxX | integer | Inclusive maximum X vertex. Valor predeterminado 0. |
maxY | integer | Inclusive maximum Y vertex. Valor predeterminado 0. |
step | integer | Sampling interval in vertices. Valor predeterminado 1. |
maxSlopeDegrees | number | Maximum slope in degrees. Valor predeterminado 10. |
minHeight | integer | Lowest accepted uint16 height. Valor predeterminado 0. |
maxHeight | integer | Highest accepted uint16 height. Valor predeterminado 65535. |
maxResults | integer | Result limit 1..1000 (flattest first). Valor predeterminado 50. |
Devuelve: spots, matches, samples.
landscape.flatten_path (riesgo 2, modifica, requiere mundo, smoke)
Levels a band along a polyline (road or river bed), heights interpolated between the points.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
points | array of {x,y,z} | obligatorio. Path points: x, y in vertex coordinates; z = target uint16 height, or -1 to use the terrain height at that point. At least two. |
halfWidth | number | Half-width of the fully flattened band in vertices. Valor predeterminado 2. |
falloffWidth | number | Width of the blend band outside it in vertices. Valor predeterminado 2. |
strength | number | Blend strength 0..1. Valor predeterminado 1.0. |
Devuelve: landscape, message.
landscape.flatten_region (riesgo 2, modifica, requiere mundo, smoke)
Moves a region toward a target height with a strength; mode raise/lower restricts the direction (fill pits or cut bumps only).
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
minX | integer | Inclusive minimum X vertex. Valor predeterminado 0. |
minY | integer | Inclusive minimum Y vertex. Valor predeterminado 0. |
maxX | integer | Inclusive maximum X vertex. Valor predeterminado 0. |
maxY | integer | Inclusive maximum Y vertex. Valor predeterminado 0. |
height | integer | Target uint16 height, 0 through 65535. Valor predeterminado 32768. |
strength | number | Blend toward the target, 0..1 (1 = exact). Valor predeterminado 1.0. |
mode | string | both, raise (only lifts lower vertices) or lower (only cuts higher vertices). Valor predeterminado TEXT("both"). |
Devuelve: landscape, message.
landscape.get (riesgo 0, requiere mundo, smoke)
Landscape summary: vertex bounds, component layout, transform, material, edit-layer flag.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | Landscape actor label, name, or path. Empty selects the only landscape. |
Devuelve: landscape, message.
landscape.get_bounds (riesgo 0, requiere mundo, smoke)
World bounds of the landscape components (read-only) and collision component count.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | Landscape actor label, name, or path. Empty selects the only landscape. |
Devuelve: landscape, boundsMin, boundsMax, components, collisionComponents.
landscape.get_component (riesgo 0, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
sectionBaseX | integer | Component section base X. Valor predeterminado 0. |
sectionBaseY | integer | Component section base Y. Valor predeterminado 0. |
Devuelve: component, materialOverride.
landscape.get_component_settings (riesgo 0, requiere mundo, smoke)
Per-component settings (LOD, lighting, collision mips, bounds extensions, material overrides, world bounds) for one or all components.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape reference. |
sectionBaseX | integer | Component section base X (see landscape.list_components). Valor predeterminado 0. |
sectionBaseY | integer | Component section base Y. Valor predeterminado 0. |
allComponents | boolean | Apply to / read every component instead of one. Valor predeterminado false. |
Devuelve: components, count.
landscape.get_height (riesgo 0, requiere mundo, smoke)
uint16 height and world Z (cm) at a landscape vertex.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
x | integer | Landscape vertex X coordinate. Valor predeterminado 0. |
y | integer | Landscape vertex Y coordinate. Valor predeterminado 0. |
Devuelve: height, worldZ, message.
landscape.get_height_range (riesgo 0, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
minX | integer | Inclusive minimum X vertex. Valor predeterminado 0. |
minY | integer | Inclusive minimum Y vertex. Valor predeterminado 0. |
maxX | integer | Inclusive maximum X vertex. Valor predeterminado 0. |
maxY | integer | Inclusive maximum Y vertex. Valor predeterminado 0. |
delta | integer | Height delta in landscape uint16 units. Valor predeterminado 0. |
Devuelve: minX, minY, width, height, heights, minHeight, maxHeight.
landscape.get_heights_grid (riesgo 0, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
minX | integer | Inclusive minimum X vertex. Valor predeterminado 0. |
minY | integer | Inclusive minimum Y vertex. Valor predeterminado 0. |
maxX | integer | Inclusive maximum X vertex. Valor predeterminado 0. |
maxY | integer | Inclusive maximum Y vertex. Valor predeterminado 0. |
delta | integer | Height delta in landscape uint16 units. Valor predeterminado 0. |
Devuelve: minX, minY, width, height, heights, minHeight, maxHeight.
landscape.get_normal (riesgo 0, requiere mundo, smoke)
World-space normal, slope and height at a vertex.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
x | integer | Landscape vertex X coordinate. Valor predeterminado 0. |
y | integer | Landscape vertex Y coordinate. Valor predeterminado 0. |
Devuelve: height, worldZ, normal, slopeDegrees, world, layers.
landscape.get_outdated_grass_maps (riesgo 0, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | Landscape actor label, name, or path. Empty selects the only landscape. |
Devuelve: components, layers, hasMaterial, outdatedGrassMaps, warnings.
landscape.get_settings (riesgo 0, requiere mundo, smoke)
Reads every reflected landscape-actor setting the kit manages (materials, LOD, lighting, collision, navigation, bounds, rendering).
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | Landscape actor label, name, or path. Empty selects the only landscape. |
Devuelve: landscape, settings.
landscape.get_weight (riesgo 0, requiere mundo, smoke)
Min/max/average weight of a paint layer over an inclusive vertex region.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
layer | string | obligatorio. Paint layer name. |
minX | integer | Inclusive minimum X. Valor predeterminado 0. |
minY | integer | Inclusive minimum Y. Valor predeterminado 0. |
maxX | integer | Inclusive maximum X. Valor predeterminado 0. |
maxY | integer | Inclusive maximum Y. Valor predeterminado 0. |
weight | integer | Constant weight, 0 through 255. Valor predeterminado 0. |
Devuelve: minWeight, maxWeight, averageWeight, samples.
landscape.get_weight_grid (riesgo 0, requiere mundo, smoke)
Row-major weights (0..255) of a paint layer over an inclusive vertex region (at most 65536 vertices).
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
layer | string | obligatorio. Paint layer name. |
minX | integer | Inclusive minimum X. Valor predeterminado 0. |
minY | integer | Inclusive minimum Y. Valor predeterminado 0. |
maxX | integer | Inclusive maximum X. Valor predeterminado 0. |
maxY | integer | Inclusive maximum Y. Valor predeterminado 0. |
weight | integer | Constant weight, 0 through 255. Valor predeterminado 0. |
Devuelve: width, height, weights.
landscape.grass_add_variety (riesgo 2, modifica, smoke)
Appends a variety with a static mesh and a density.
| Argumento | Tipo | Descripción |
|---|---|---|
grassType | string | obligatorio. Landscape grass type asset path or unique name. |
mesh | string | obligatorio. Static mesh for the new variety. |
density | number | Initial density in instances per 10 m x 10 m (0..1000). Valor predeterminado 100. |
Devuelve: grassType, varieties, settings.
landscape.grass_audit_type (riesgo 0, smoke)
Reports varieties without a mesh, with zero density, or with an end cull distance below the start.
| Argumento | Tipo | Descripción |
|---|---|---|
grassType | string | obligatorio. Landscape grass type asset path or unique name. |
Devuelve: grassType, varieties, settings.
landscape.grass_create_type (riesgo 2, modifica, smoke)
Creates an empty ULandscapeGrassType asset
| Argumento | Tipo | Descripción |
|---|---|---|
folder | string | obligatorio. Content folder under /Game. |
name | string | obligatorio. Bare grass-type asset name. |
Devuelve: grassType, varieties, settings.
landscape.grass_flush (riesgo 2, modifica, requiere mundo, smoke)
Flushes the landscape's grass components and cached grass maps so they regenerate; returns the stale-map count.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | Landscape actor label, name, or path. Empty selects the only landscape. |
Devuelve: components, layers, hasMaterial, outdatedGrassMaps, warnings.
landscape.grass_get_type (riesgo 0, smoke)
Returns a grass type with every variety (mesh, density, culling, scaling, placement, rendering flags).
| Argumento | Tipo | Descripción |
|---|---|---|
grassType | string | obligatorio. Landscape grass type asset path or unique name. |
Devuelve: grassType, varieties, settings.
landscape.grass_get_variety (riesgo 0, smoke)
Returns every reflected property of one variety as text in settings (keys usable with grass_set_variety).
| Argumento | Tipo | Descripción |
|---|---|---|
grassType | string | obligatorio. Landscape grass type asset path or unique name. |
index | integer | Zero-based variety index. Valor predeterminado 0. |
Devuelve: grassType, varieties, settings.
landscape.grass_list_types (riesgo 0, smoke)
Lists grass type assets under a folder.
| Argumento | Tipo | Descripción |
|---|---|---|
folder | string | Content folder to search. Valor predeterminado TEXT("/Game"). |
nameContains | string | Optional case-insensitive name filter. |
recursive | boolean | Search sub-folders. Valor predeterminado true. |
Devuelve: grassTypes, count.
landscape.grass_remove_variety (riesgo 3, modifica, destructivo, smoke)
Removes one variety from a grass type.
| Argumento | Tipo | Descripción |
|---|---|---|
grassType | string | obligatorio. Landscape grass type asset path or unique name. |
index | integer | Zero-based variety index. Valor predeterminado 0. |
Devuelve: grassType, varieties, settings.
landscape.grass_set_align_to_surface (riesgo 2, modifica, smoke)
Aligns instances of one variety to the landscape surface.
| Argumento | Tipo | Descripción |
|---|---|---|
grassType | string | obligatorio. Landscape grass type asset path or unique name. |
index | integer | Zero-based variety index (settings that belong to the whole type ignore it). Valor predeterminado 0. |
enabled | boolean | Requested state. Valor predeterminado true. |
Devuelve: grassType, varieties, settings.
landscape.grass_set_contact_shadow (riesgo 2, modifica, UE 5.1+, smoke)
Lets instances of one variety cast contact shadows (UE5).
| Argumento | Tipo | Descripción |
|---|---|---|
grassType | string | obligatorio. Landscape grass type asset path or unique name. |
index | integer | Zero-based variety index (settings that belong to the whole type ignore it). Valor predeterminado 0. |
enabled | boolean | Requested state. Valor predeterminado true. |
Devuelve: grassType, varieties, settings.
landscape.grass_set_cpu_copy (riesgo 2, modifica, smoke)
Keeps a CPU copy of the instance buffer of one variety (needed for runtime instance queries).
| Argumento | Tipo | Descripción |
|---|---|---|
grassType | string | obligatorio. Landscape grass type asset path or unique name. |
index | integer | Zero-based variety index (settings that belong to the whole type ignore it). Valor predeterminado 0. |
enabled | boolean | Requested state. Valor predeterminado true. |
Devuelve: grassType, varieties, settings.
landscape.grass_set_density (riesgo 2, modifica, smoke)
Sets the default density (0..1000 instances per 10 m x 10 m) of one variety.
| Argumento | Tipo | Descripción |
|---|---|---|
grassType | string | obligatorio. Landscape grass type asset path or unique name. |
index | integer | Zero-based variety index (settings that belong to the whole type ignore it). Valor predeterminado 0. |
value | number | Requested value (see the tool description for its range). Valor predeterminado 0. |
Devuelve: grassType, varieties, settings.
landscape.grass_set_density_scaling (riesgo 2, modifica, smoke)
Enables or disables scalability density scaling for the whole grass type (index is ignored).
| Argumento | Tipo | Descripción |
|---|---|---|
grassType | string | obligatorio. Landscape grass type asset path or unique name. |
index | integer | Zero-based variety index (settings that belong to the whole type ignore it). Valor predeterminado 0. |
enabled | boolean | Requested state. Valor predeterminado true. |
Devuelve: grassType, varieties, settings.
landscape.grass_set_dynamic_shadow (riesgo 2, modifica, smoke)
Lets instances of one variety cast dynamic shadows.
| Argumento | Tipo | Descripción |
|---|---|---|
grassType | string | obligatorio. Landscape grass type asset path or unique name. |
index | integer | Zero-based variety index (settings that belong to the whole type ignore it). Valor predeterminado 0. |
enabled | boolean | Requested state. Valor predeterminado true. |
Devuelve: grassType, varieties, settings.
landscape.grass_set_end_cull (riesgo 2, modifica, smoke)
Sets the default end cull distance (cm) of one variety.
| Argumento | Tipo | Descripción |
|---|---|---|
grassType | string | obligatorio. Landscape grass type asset path or unique name. |
index | integer | Zero-based variety index (settings that belong to the whole type ignore it). Valor predeterminado 0. |
value | number | Requested value (see the tool description for its range). Valor predeterminado 0. |
Devuelve: grassType, varieties, settings.
landscape.grass_set_grid (riesgo 2, modifica, smoke)
Places instances of one variety on a jittered grid instead of randomly.
| Argumento | Tipo | Descripción |
|---|---|---|
grassType | string | obligatorio. Landscape grass type asset path or unique name. |
index | integer | Zero-based variety index (settings that belong to the whole type ignore it). Valor predeterminado 0. |
enabled | boolean | Requested state. Valor predeterminado true. |
Devuelve: grassType, varieties, settings.
landscape.grass_set_jitter (riesgo 2, modifica, smoke)
Sets the grid placement jitter (0..1) of one variety.
| Argumento | Tipo | Descripción |
|---|---|---|
grassType | string | obligatorio. Landscape grass type asset path or unique name. |
index | integer | Zero-based variety index (settings that belong to the whole type ignore it). Valor predeterminado 0. |
value | number | Requested value (see the tool description for its range). Valor predeterminado 0. |
Devuelve: grassType, varieties, settings.
landscape.grass_set_landscape_lightmap (riesgo 2, modifica, smoke)
Lights instances of one variety with the landscape lightmap.
| Argumento | Tipo | Descripción |
|---|---|---|
grassType | string | obligatorio. Landscape grass type asset path or unique name. |
index | integer | Zero-based variety index (settings that belong to the whole type ignore it). Valor predeterminado 0. |
enabled | boolean | Requested state. Valor predeterminado true. |
Devuelve: grassType, varieties, settings.
landscape.grass_set_min_lod (riesgo 2, modifica, smoke)
Sets the minimum mesh LOD (-1..8, -1 = automatic) of one variety.
| Argumento | Tipo | Descripción |
|---|---|---|
grassType | string | obligatorio. Landscape grass type asset path or unique name. |
index | integer | Zero-based variety index (settings that belong to the whole type ignore it). Valor predeterminado 0. |
value | number | Requested value (see the tool description for its range). Valor predeterminado 0. |
Devuelve: grassType, varieties, settings.
landscape.grass_set_random_rotation (riesgo 2, modifica, smoke)
Enables random yaw for one variety.
| Argumento | Tipo | Descripción |
|---|---|---|
grassType | string | obligatorio. Landscape grass type asset path or unique name. |
index | integer | Zero-based variety index (settings that belong to the whole type ignore it). Valor predeterminado 0. |
enabled | boolean | Requested state. Valor predeterminado true. |
Devuelve: grassType, varieties, settings.
landscape.grass_set_receive_decals (riesgo 2, modifica, smoke)
Lets instances of one variety receive decals.
| Argumento | Tipo | Descripción |
|---|---|---|
grassType | string | obligatorio. Landscape grass type asset path or unique name. |
index | integer | Zero-based variety index (settings that belong to the whole type ignore it). Valor predeterminado 0. |
enabled | boolean | Requested state. Valor predeterminado true. |
Devuelve: grassType, varieties, settings.
landscape.grass_set_scale (riesgo 2, modifica, smoke)
Sets the scaling mode and the X/Y/Z scale ranges of one variety.
| Argumento | Tipo | Descripción |
|---|---|---|
grassType | string | obligatorio. Landscape grass type asset path or unique name. |
index | integer | Zero-based variety index. Valor predeterminado 0. |
scaling | string | Uniform (X range scales all axes), Free (independent X/Y/Z) or LockXY (X for X and Y, Z separate). Valor predeterminado TEXT("Uniform"). |
scaleXMin | number | X (or uniform) scale range minimum. Valor predeterminado 1. |
scaleXMax | number | X (or uniform) scale range maximum. Valor predeterminado 1. |
scaleYMin | number | Y scale range minimum (Free only). Valor predeterminado 1. |
scaleYMax | number | Y scale range maximum (Free only). Valor predeterminado 1. |
scaleZMin | number | Z scale range minimum (Free and LockXY). Valor predeterminado 1. |
scaleZMax | number | Z scale range maximum (Free and LockXY). Valor predeterminado 1. |
Devuelve: grassType, varieties, settings.
landscape.grass_set_start_cull (riesgo 2, modifica, smoke)
Sets the default start cull distance (cm) of one variety.
| Argumento | Tipo | Descripción |
|---|---|---|
grassType | string | obligatorio. Landscape grass type asset path or unique name. |
index | integer | Zero-based variety index (settings that belong to the whole type ignore it). Valor predeterminado 0. |
value | number | Requested value (see the tool description for its range). Valor predeterminado 0. |
Devuelve: grassType, varieties, settings.
landscape.grass_set_variety (riesgo 2, modifica, smoke)
Assigns reflected FGrassVariety properties of one variety (dotted paths into structs, e.g. GrassDensity.Default, ScaleX.Min).
| Argumento | Tipo | Descripción |
|---|---|---|
grassType | string | obligatorio. Landscape grass type asset path or unique name. |
index | integer | Zero-based variety index. Valor predeterminado 0. |
settings | array of UeaKeyValue | obligatorio. Property assignments in engine text form (e.g. {key:'GrassDensity.Default',value:'50'}, {key:'bUseGrid',value:'true'}). |
Devuelve: grassType, varieties, settings.
landscape.has_material (riesgo 0, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | Landscape actor label, name, or path. Empty selects the only landscape. |
Devuelve: components, layers, hasMaterial, outdatedGrassMaps, warnings.
landscape.height_histogram (riesgo 0, requiere mundo, smoke)
Height distribution of a region in buckets.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
minX | integer | Inclusive minimum X vertex. Valor predeterminado 0. |
minY | integer | Inclusive minimum Y vertex. Valor predeterminado 0. |
maxX | integer | Inclusive maximum X vertex. Valor predeterminado 0. |
maxY | integer | Inclusive maximum Y vertex. Valor predeterminado 0. |
step | integer | Sampling interval in vertices. Valor predeterminado 1. |
buckets | integer | Bucket count 2..256. Valor predeterminado 16. |
Devuelve: counts, minHeight, maxHeight, bucketWidth, minWorldZ, maxWorldZ, samples.
landscape.import_weightmap (riesgo 2, modifica, requiere mundo)
Imports an 8-bit .raw weightmap (row-major, width x height bytes) into a paint layer at (minX, minY).
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
layer | string | obligatorio. Assigned paint layer name. |
file | string | obligatorio. Absolute file path (.png or .raw on export; 8-bit .raw on import). |
minX | integer | Import only: region origin X vertex. Valor predeterminado 0. |
minY | integer | Import only: region origin Y vertex. Valor predeterminado 0. |
width | integer | Import only: raw image width in pixels; 0 uses the landscape width. Valor predeterminado 0. |
Devuelve: landscape, message.
landscape.line_trace (riesgo 0, requiere mundo, smoke)
Traces a world ray against this landscape's collision only (nearest hit).
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
start | {x,y,z} | Ray start in world cm. |
end | {x,y,z} | Ray end in world cm. |
Devuelve: hit, location, normal, distance, component, vertexX, vertexY, height, componentsTested.
landscape.list (riesgo 0, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | Landscape actor label, name, or path. Empty selects the only landscape. |
Devuelve: landscapes, count.
landscape.list_blueprint_brushes (riesgo 0, requiere mundo, smoke)
Lists the landscape blueprint brushes of every edit layer.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | Landscape actor label, name, or path. Empty selects the only landscape. |
Devuelve: brushes, count.
landscape.list_components (riesgo 0, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | Landscape actor label, name, or path. Empty selects the only landscape. |
Devuelve: components, count.
landscape.list_edit_layers (riesgo 0, requiere mundo, smoke)
Lists edit layers bottom to top with visibility, lock, alphas, active flag and blueprint brushes.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | Landscape actor label, name, or path. Empty selects the only landscape. |
Devuelve: editLayers, count, editLayer.
landscape.list_grass_outputs (riesgo 0, smoke)
Lists the Landscape Grass Output entries (pin name + grass type) of a material, or of the landscape's material.
| Argumento | Tipo | Descripción |
|---|---|---|
material | string | Material or material instance to inspect; empty uses the landscape's material. |
landscape | string | Landscape actor reference, used when material is empty. |
Devuelve: material, outputs, count.
landscape.list_layers (riesgo 0, requiere mundo, smoke)
Lists paint layers with their layer-info asset and blend mode.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | Landscape actor label, name, or path. Empty selects the only landscape. |
Devuelve: layers, count.
landscape.list_proxies (riesgo 0, requiere mundo, smoke)
Lists the landscape actor and its streaming proxies (world-partition or level streaming).
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | Landscape actor label, name, or path. Empty selects the only landscape. |
Devuelve: proxies, count.
landscape.mirror_region (riesgo 2, modifica, requiere mundo, smoke)
Mirrors (symmetric map) or flips a region along X or Y.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
minX | integer | Inclusive minimum X vertex. Valor predeterminado 0. |
minY | integer | Inclusive minimum Y vertex. Valor predeterminado 0. |
maxX | integer | Inclusive maximum X vertex. Valor predeterminado 0. |
maxY | integer | Inclusive maximum Y vertex. Valor predeterminado 0. |
axis | string | x mirrors across the vertical centre line (left/right), y across the horizontal one. Valor predeterminado TEXT("x"). |
mode | string | mirror copies the first half onto the second (symmetric map); flip reverses the whole region. Valor predeterminado TEXT("mirror"). |
Devuelve: landscape, message.
landscape.noise_region (riesgo 2, modifica, requiere mundo, smoke)
Deterministic fBm Perlin noise inside a circular brush (seed, octaves, frequency).
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
centerX | integer | Brush centre X vertex. Valor predeterminado 0. |
centerY | integer | Brush centre Y vertex. Valor predeterminado 0. |
radius | integer | Brush radius in vertices. Valor predeterminado 8. |
strength | integer | Peak amplitude in uint16 units. Valor predeterminado 128. |
falloff | number | Edge falloff exponent 0 (hard) .. 1 (linear). Valor predeterminado 1.0. |
seed | integer | Noise seed (offsets the noise field). Valor predeterminado 0. |
octaves | integer | Octaves 1..8. Valor predeterminado 4. |
frequency | number | Base frequency in cycles per vertex (0.001..1). Valor predeterminado 0.1. |
Devuelve: landscape, message.
landscape.paint_layer_circle (riesgo 2, modifica, requiere mundo, smoke)
Paints a disc of weight around a vertex, with an optional linear falloff toward the rim. Vertices outside the disc are left unchanged.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
layer | string | obligatorio. Assigned paint layer name. |
centerX | integer | Brush centre X vertex. Valor predeterminado 0. |
centerY | integer | Brush centre Y vertex. Valor predeterminado 0. |
radius | integer | Brush radius in vertices (the whole circle must lie inside the landscape). Valor predeterminado 8. |
weight | integer | Centre paint weight, 0 through 255. Valor predeterminado 255. |
falloff | number | Fraction of the radius (0..1) over which the weight fades linearly to 0 at the rim; 0 paints a hard disc. Valor predeterminado 0. |
Devuelve: landscape, message.
landscape.paint_layer_gradient (riesgo 2, modifica, requiere mundo, smoke)
Paints a linear weight gradient over an inclusive region along x or y.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
layer | string | obligatorio. Assigned paint layer name. |
minX | integer | Inclusive region minimum X. Valor predeterminado 0. |
minY | integer | Inclusive region minimum Y. Valor predeterminado 0. |
maxX | integer | Inclusive region maximum X. Valor predeterminado 0. |
maxY | integer | Inclusive region maximum Y. Valor predeterminado 0. |
startWeight | integer | Weight at the start edge (low X, or low Y when axis is y). Valor predeterminado 0. |
endWeight | integer | Weight at the end edge. Valor predeterminado 255. |
axis | string | Gradient axis: x or y. Valor predeterminado TEXT("x"). |
Devuelve: landscape, message.
landscape.paint_layer_region (riesgo 2, modifica, requiere mundo, smoke)
Paints a constant weight (0..255) over an inclusive vertex box.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
layer | string | obligatorio. Paint layer name. |
minX | integer | Inclusive minimum X. Valor predeterminado 0. |
minY | integer | Inclusive minimum Y. Valor predeterminado 0. |
maxX | integer | Inclusive maximum X. Valor predeterminado 0. |
maxY | integer | Inclusive maximum Y. Valor predeterminado 0. |
weight | integer | Constant weight, 0 through 255. Valor predeterminado 0. |
Devuelve: landscape, message.
landscape.ramp_region (riesgo 2, modifica, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
startX | integer | Start X vertex. Valor predeterminado 0. |
startY | integer | Start Y vertex. Valor predeterminado 0. |
endX | integer | End X vertex. Valor predeterminado 1. |
endY | integer | End Y vertex. Valor predeterminado 1. |
startHeight | integer | Start height in uint16 units. Valor predeterminado 32768. |
endHeight | integer | End height in uint16 units. Valor predeterminado 32768. |
halfWidth | integer | Half-width in vertices. Valor predeterminado 1. |
Devuelve: landscape, message.
landscape.rebuild_bounds (riesgo 2, modifica, requiere mundo, smoke)
Recomputes cached component bounds from the heights and refreshes transforms/render state.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | Landscape actor label, name, or path. Empty selects the only landscape. |
Devuelve: landscape, boundsMin, boundsMax, components, collisionComponents.
landscape.recalc_normals (riesgo 2, modifica, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | Landscape actor label, name, or path. Empty selects the only landscape. |
Devuelve: landscape, message.
landscape.remove_edit_layer (riesgo 3, modifica, destructivo, requiere mundo, smoke)
Deletes an edit layer and its content; the last remaining layer cannot be removed.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
layer | string | obligatorio. Edit layer name. |
Devuelve: editLayers, count, editLayer.
landscape.remove_layer_info (riesgo 3, modifica, destructivo, requiere mundo, smoke)
Removes a paint layer from the landscape: deletes its painted weights and unassigns its layer info (the asset stays).
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
layer | string | obligatorio. Landscape paint layer name. |
Devuelve: layers, count.
landscape.rename_edit_layer (riesgo 2, modifica, requiere mundo, smoke)
Renames an edit layer; the new name must be unique.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
layer | string | obligatorio. Current edit layer name. |
newName | string | obligatorio. New unique name. |
Devuelve: editLayers, count, editLayer.
landscape.reorder_edit_layer (riesgo 2, modifica, requiere mundo, smoke)
Moves an edit layer to another stack index (0 = bottom).
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
layer | string | obligatorio. Edit layer name. |
newIndex | integer | Destination stack index (0 = bottom). Valor predeterminado 0. |
Devuelve: editLayers, count, editLayer.
landscape.replace_layer_info (riesgo 2, modifica, requiere mundo, smoke)
Replaces the layer-info asset of a paint layer with another asset; painted weights move to the new layer info.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
layer | string | obligatorio. Paint layer whose layer info (and painted weights) moves to the new asset. |
layerInfo | string | obligatorio. Layer-info asset that replaces it; must not already be a paint layer of this landscape. |
Devuelve: layers, count.
landscape.resample (riesgo 3, modifica, destructivo, requiere mundo, smoke)
Changes the vertex resolution (section size, sections, components) keeping the world footprint; heights and paint weights are bilinearly resampled and the landscape is rebuilt in place.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape reference. |
componentsX | integer | New component count in X; 0 keeps the current count. Valor predeterminado 0. |
componentsY | integer | New component count in Y; 0 keeps the current count. Valor predeterminado 0. |
sectionSizeQuads | integer | New quads per section (7, 15, 31, 63, 127, 255); 0 keeps. Valor predeterminado 0. |
sectionsPerComponent | integer | New sections per component (1 or 2); 0 keeps. Valor predeterminado 0. |
dryRun | boolean | Only validate and report the new size. Valor predeterminado false. |
Devuelve: landscape, oldVertsX, oldVertsY, newVertsX, newVertsY, copiedLayers, skippedLayers, copiedSettings, dryRun, changedActors, message.
landscape.resize (riesgo 3, modifica, destructivo, requiere mundo, smoke)
Changes the component count keeping the quad size (crop or extend); the landscape is rebuilt in place.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape reference. |
componentsX | integer | New component count in X (1..32). Valor predeterminado 1. |
componentsY | integer | New component count in Y (1..32). Valor predeterminado 1. |
anchor | string | corner keeps the minimum corner fixed; center grows or shrinks evenly (the actor moves so the terrain stays in place). Valor predeterminado TEXT("corner"). |
fillHeight | integer | Height for new vertices (0..65535); -1 extends the nearest edge heights. Valor predeterminado -1. |
dryRun | boolean | Only validate and report the new size. Valor predeterminado false. |
Devuelve: landscape, oldVertsX, oldVertsY, newVertsX, newVertsY, copiedLayers, skippedLayers, copiedSettings, dryRun, changedActors, message.
landscape.sample (riesgo 0, requiere mundo, smoke)
Height, normal, slope and paint-layer weights at a vertex.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
x | integer | Landscape vertex X coordinate. Valor predeterminado 0. |
y | integer | Landscape vertex Y coordinate. Valor predeterminado 0. |
Devuelve: height, worldZ, normal, slopeDegrees, world, layers.
landscape.sample_world (riesgo 0, requiere mundo, smoke)
Terrain height, normal and slope under world XY points (bilinear), for placing actors on the ground.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
points | array of {x,y,z} | obligatorio. World points in cm (x, y used; z ignored), 1..1024. |
Devuelve: samples, inside.
landscape.scale_region (riesgo 2, modifica, requiere mundo, smoke)
Scales the relief of a region around a pivot height (exaggerate or flatten).
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
minX | integer | Inclusive minimum X vertex. Valor predeterminado 0. |
minY | integer | Inclusive minimum Y vertex. Valor predeterminado 0. |
maxX | integer | Inclusive maximum X vertex. Valor predeterminado 0. |
maxY | integer | Inclusive maximum Y vertex. Valor predeterminado 0. |
factor | number | Multiplier 0..10 (below 1 flattens, above 1 exaggerates). Valor predeterminado 1.0. |
pivot | integer | Pivot uint16 height; -1 uses the region mean. Valor predeterminado -1. |
Devuelve: landscape, message.
landscape.set_active_edit_layer (riesgo 2, modifica, requiere mundo, smoke)
Selects the edit layer that height and weight tools write to (empty clears the selection).
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
layer | string | Edit layer that height/weight tools write to; empty clears the selection (tools then use the first layer). |
Devuelve: editLayers, count, editLayer.
landscape.set_bounds_extension (riesgo 2, modifica, requiere mundo, smoke)
Sets the landscape-wide Z bounds extensions in cm.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape reference. |
negativeZ | number | Extra bounds below the terrain in cm; -1 unchanged. Valor predeterminado -1. |
positiveZ | number | Extra bounds above the terrain in cm; -1 unchanged. Valor predeterminado -1. |
Devuelve: landscape, settings.
landscape.set_collision_mip (riesgo 2, modifica, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
value | integer | Requested nonnegative setting value. Valor predeterminado 0. |
Devuelve: landscape, message.
landscape.set_collision_settings (riesgo 2, modifica, requiere mundo, smoke)
Sets the collision profile and overlap/bake flags of the landscape actor; collision components are recreated.
| Argumento | Tipo | Descripción |
|---|---|---|
collisionProfile | string | Collision profile name (e.g. BlockAll); empty unchanged. |
landscape | string | obligatorio. Landscape reference. |
generateOverlapEvents | string | true, false or empty (unchanged). |
bakeMaterialPositionOffsetIntoCollision | string | true, false or empty. |
Devuelve: landscape, settings.
landscape.set_component_bounds_extension (riesgo 2, modifica, requiere mundo, smoke)
Sets per-component Z bounds extensions (for world-position-offset materials).
| Argumento | Tipo | Descripción |
|---|---|---|
negativeZBoundsExtension | number | Extra bounds below the terrain in cm (for world-position-offset materials). Valor predeterminado 0. |
positiveZBoundsExtension | number | Extra bounds above the terrain in cm. Valor predeterminado 0. |
Devuelve: components, count.
landscape.set_component_collision_mip (riesgo 2, modifica, requiere mundo, smoke)
Sets complex and simple collision mip levels of one or all components (collision is rebuilt).
| Argumento | Tipo | Descripción |
|---|---|---|
collisionMipLevel | integer | Complex collision mip level (0..5). Valor predeterminado 0. |
simpleCollisionMipLevel | integer | Simple collision mip level (0..5); 0 = no separate simple collision. Valor predeterminado 0. |
Devuelve: components, count.
landscape.set_component_lighting (riesgo 2, modifica, requiere mundo, smoke)
Sets static lighting resolution override and lightmass LOD bias of one or all components.
| Argumento | Tipo | Descripción |
|---|---|---|
staticLightingResolution | number | Static lighting resolution override; 0 = use the landscape value (engine default). Valor predeterminado 0. |
lightingLodBias | integer | Lightmass LOD bias; -1 = automatic (engine default). Valor predeterminado -1. |
Devuelve: components, count.
landscape.set_component_lod (riesgo 2, modifica, requiere mundo, smoke)
Sets forced LOD and LOD bias of one or all components.
| Argumento | Tipo | Descripción |
|---|---|---|
forcedLod | integer | Forced render LOD; -1 = automatic (engine default). Valor predeterminado -1. |
lodBias | integer | Render LOD bias (engine default 0). Valor predeterminado 0. |
Devuelve: components, count.
landscape.set_component_material_override (riesgo 2, modifica, requiere mundo, smoke)
Sets or clears the material and hole-material override of one or all components.
| Argumento | Tipo | Descripción |
|---|---|---|
material | string | Material override asset path; empty clears the override. |
holeMaterial | string | Hole material override asset path; empty clears it. |
Devuelve: components, count.
landscape.set_edit_layer_alpha (riesgo 2, modifica, requiere mundo, smoke)
Sets the heightmap (-1..1) or weightmap (0..1) blend alpha of an edit layer.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
layer | string | obligatorio. Edit layer name. |
alpha | number | Blend alpha: heightmap -1..1 (negative subtracts), weightmap 0..1. Valor predeterminado 1. |
target | string | heightmap or weightmap. Valor predeterminado TEXT("heightmap"). |
Devuelve: editLayers, count, editLayer.
landscape.set_edit_layer_locked (riesgo 2, modifica, requiere mundo, smoke)
Locks (enabled=true) or unlocks an edit layer against edits.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
layer | string | obligatorio. Edit layer name. |
enabled | boolean | Requested state. Valor predeterminado true. |
Devuelve: editLayers, count, editLayer.
landscape.set_edit_layer_visible (riesgo 2, modifica, requiere mundo, smoke)
Shows (enabled=true) or hides an edit layer in the merged landscape.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
layer | string | obligatorio. Edit layer name. |
enabled | boolean | Requested state. Valor predeterminado true. |
Devuelve: editLayers, count, editLayer.
landscape.set_height_region (riesgo 2, modifica, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
minX | integer | Inclusive minimum X vertex. Valor predeterminado 0. |
minY | integer | Inclusive minimum Y vertex. Valor predeterminado 0. |
maxX | integer | Inclusive maximum X vertex. Valor predeterminado 0. |
maxY | integer | Inclusive maximum Y vertex. Valor predeterminado 0. |
height | integer | Target uint16 height, 0 through 65535. Valor predeterminado 32768. |
Devuelve: landscape, message.
landscape.set_hole_material (riesgo 2, modifica, requiere mundo, smoke)
Sets or clears the hole material used where the visibility layer is painted.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape reference. |
asset | string | Asset path; empty clears the reference. |
Devuelve: landscape, settings.
landscape.set_lighting_settings (riesgo 2, modifica, requiere mundo, smoke)
Sets lighting and shadow flags of the landscape actor.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape reference. |
staticLightingResolution | number | Static lighting resolution; -1 unchanged. Valor predeterminado -1. |
castShadow | string | true, false or empty (unchanged). |
castDynamicShadow | string | true, false or empty. |
castStaticShadow | string | true, false or empty. |
castFarShadow | string | true, false or empty. |
affectDistanceFieldLighting | string | true, false or empty. |
Devuelve: landscape, settings.
landscape.set_lod_settings (riesgo 2, modifica, requiere mundo, smoke)
Sets LOD screen size and distribution settings of the landscape actor.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape reference. |
lod0ScreenSize | number | Screen size of LOD0; -1 unchanged. Valor predeterminado -1. |
lod0DistributionSetting | number | LOD0 distribution multiplier; -1 unchanged. Valor predeterminado -1. |
lodDistributionSetting | number | Distribution multiplier of the other LODs; -1 unchanged. Valor predeterminado -1. |
Devuelve: landscape, settings.
landscape.set_material (riesgo 2, modifica, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
material | string | obligatorio. Material asset path. |
Devuelve: landscape, message.
landscape.set_navigation_settings (riesgo 2, modifica, requiere mundo, smoke)
Sets navigation relevance and collision fill for navmesh generation.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape reference. |
usedForNavigation | string | true, false or empty (unchanged). |
fillCollisionUnderLandscapeForNavmesh | string | true, false or empty. |
Devuelve: landscape, settings.
landscape.set_physical_material (riesgo 2, modifica, requiere mundo, smoke)
Sets or clears the default physical material of the landscape.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape reference. |
asset | string | Asset path; empty clears the reference. |
Devuelve: landscape, settings.
landscape.set_rendering_settings (riesgo 2, modifica, requiere mundo, smoke)
Sets custom depth, max draw distance and texture streaming multiplier.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape reference. |
renderCustomDepth | string | true, false or empty (unchanged). |
customDepthStencilValue | integer | Custom depth stencil value 0..255; -1 unchanged. Valor predeterminado -1. |
maxDrawDistance | number | Max draw distance in cm (0 = infinite); -1 unchanged. Valor predeterminado -1. |
streamingDistanceMultiplier | number | Texture streaming distance multiplier; -1 unchanged. Valor predeterminado -1. |
Devuelve: landscape, settings.
landscape.set_settings (riesgo 2, modifica, requiere mundo, smoke)
Sets allowlisted landscape-actor properties by name (see get_settings for the keys) through the details-panel route.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
settings | array of UeaKeyValue | Property assignments: StaticLightingLOD, CollisionMipLevel, SimpleCollisionMipLevel, VirtualTextureRenderPassType. |
Devuelve: landscape, settings.
landscape.set_simple_collision_mip (riesgo 2, modifica, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
value | integer | Requested nonnegative setting value. Valor predeterminado 0. |
Devuelve: landscape, message.
landscape.set_static_lighting_lod (riesgo 2, modifica, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
value | integer | Requested nonnegative setting value. Valor predeterminado 0. |
Devuelve: landscape, message.
landscape.set_transform (riesgo 2, modifica, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
location | {x,y,z} | World location in centimetres. |
rotation | {x,y,z} | World rotation in degrees. |
scale | {x,y,z} | Actor scale. Valor predeterminado FUeaVec3(100,100,100). |
Devuelve: landscape, message.
landscape.set_virtual_texture_settings (riesgo 2, modifica, requiere mundo, smoke)
Sets the runtime virtual textures the landscape writes to, their LOD range and the main-pass mode.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape reference. |
runtimeVirtualTextures | array of string | Runtime virtual texture asset paths the landscape renders into (replaces the list). |
keepTextures | boolean | Keep the current list instead of replacing it with runtimeVirtualTextures. Valor predeterminado false. |
numLods | integer | Lowest mips rendered to the virtual texture (0..12); -1 unchanged. Valor predeterminado -1. |
lodBias | integer | LOD bias when rendering to the virtual texture (0..8); -1 unchanged. Valor predeterminado -1. |
mainPass | string | Main pass: Never, Exclusive or Always; empty unchanged. |
Devuelve: landscape, settings.
landscape.set_visibility_layer (riesgo 2, modifica, requiere mundo, smoke)
Cuts (hidden=true) or restores holes over an inclusive vertex region through the landscape visibility layer.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
minX | integer | Inclusive minimum X vertex. Valor predeterminado 0. |
minY | integer | Inclusive minimum Y vertex. Valor predeterminado 0. |
maxX | integer | Inclusive maximum X vertex. Valor predeterminado 0. |
maxY | integer | Inclusive maximum Y vertex. Valor predeterminado 0. |
hidden | boolean | true cuts a hole (needs a material with a Landscape Visibility Mask to render), false restores the surface. Valor predeterminado true. |
Devuelve: landscape, message.
landscape.set_weight_grid (riesgo 2, modifica, requiere mundo, smoke)
Writes row-major weights (0..255) into a region starting at (minX, minY); the inverse of get_weight_grid.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
layer | string | obligatorio. Assigned paint layer name. |
minX | integer | Region origin X vertex. Valor predeterminado 0. |
minY | integer | Region origin Y vertex. Valor predeterminado 0. |
width | integer | Region width in vertices. Valor predeterminado 0. |
weights | array of integer | obligatorio. Row-major weights 0..255, exactly width*height values. |
Devuelve: landscape, message.
landscape.slope_map (riesgo 0, requiere mundo, smoke)
Grid of world-space slopes (degrees) over a region, with steep-area statistics.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
minX | integer | Inclusive minimum X vertex. Valor predeterminado 0. |
minY | integer | Inclusive minimum Y vertex. Valor predeterminado 0. |
maxX | integer | Inclusive maximum X vertex. Valor predeterminado 0. |
maxY | integer | Inclusive maximum Y vertex. Valor predeterminado 0. |
step | integer | Sampling interval in vertices. Valor predeterminado 1. |
maxSlopeDegrees | number | Slope threshold in degrees for the steep count. Valor predeterminado 30. |
Devuelve: columns, rows, slopes, minSlope, maxSlope, averageSlope, steepSamples, steepFraction.
landscape.slope_statistics (riesgo 0, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
minX | integer | Inclusive minimum X vertex. Valor predeterminado 0. |
minY | integer | Inclusive minimum Y vertex. Valor predeterminado 0. |
maxX | integer | Inclusive maximum X vertex. Valor predeterminado 0. |
maxY | integer | Inclusive maximum Y vertex. Valor predeterminado 0. |
step | integer | Sampling interval in vertices. Valor predeterminado 1. |
Devuelve: samples, minHeight, maxHeight, averageHeight, maxSlope, averageSlope.
landscape.smooth_region (riesgo 2, modifica, requiere mundo, smoke)
3x3 box-blur smoothing of a region, repeated for iterations and blended by strength.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
minX | integer | Inclusive minimum X vertex. Valor predeterminado 0. |
minY | integer | Inclusive minimum Y vertex. Valor predeterminado 0. |
maxX | integer | Inclusive maximum X vertex. Valor predeterminado 0. |
maxY | integer | Inclusive maximum Y vertex. Valor predeterminado 0. |
iterations | integer | Blur passes, 1..20. Valor predeterminado 1. |
strength | number | Blend of each pass, 0..1. Valor predeterminado 1.0. |
Devuelve: landscape, message.
landscape.spline_add_point (riesgo 2, modifica, requiere mundo, smoke)
Adds an unconnected control point (landscape-local location, half-width, side falloff), creating the spline component when missing.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
location | {x,y,z} | Landscape-local control-point location in centimetres. |
rotation | {x,y,z} | Control-point rotation in degrees. |
width | number | Half-width in centimetres (positive). Valor predeterminado 500. |
sideFalloff | number | Side falloff in centimetres (nonnegative). Valor predeterminado 500. |
Devuelve: controlPoints, segmentCount, message.
landscape.spline_apply (riesgo 2, modifica, requiere mundo, smoke)
Applies the splines to the landscape: raises/lowers heights and paints the configured layers (splines edit layer when present).
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | Landscape actor label, name, or path. Empty selects the only landscape. |
Devuelve: applied, landscape, message.
landscape.spline_clear (riesgo 3, modifica, destructivo, requiere mundo, smoke)
Removes every control point and segment of the landscape splines.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | Landscape actor label, name, or path. Empty selects the only landscape. |
Devuelve: controlPoints, segmentCount, message.
landscape.spline_connect (riesgo 2, modifica, requiere mundo, smoke)
Connects two control points with a new segment.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
startIndex | integer | Control point at the segment start. Valor predeterminado 0. |
endIndex | integer | Control point at the segment end. Valor predeterminado 1. |
startTangent | number | Start tangent length in centimetres; 0 uses half the point distance. Valor predeterminado 0. |
endTangent | number | End tangent length in centimetres; 0 uses half the point distance. Valor predeterminado 0. |
layerName | string | Paint layer painted under the segment when splines are applied; empty paints nothing. |
Devuelve: segments, count, segment.
landscape.spline_export_points (riesgo 0, requiere mundo, smoke)
Exports control points and segments as typed arrays (feed the points to spline_import_points to recreate a chain).
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | Landscape actor label, name, or path. Empty selects the only landscape. |
Devuelve: points, segments.
landscape.spline_get_point (riesgo 0, requiere mundo, smoke)
Returns one control point.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
index | integer | Zero-based existing control-point index (see spline_list). Valor predeterminado 0. |
Devuelve: controlPoints, segmentCount, message.
landscape.spline_get_segment (riesgo 0, requiere mundo, smoke)
Returns one segment (endpoints, tangent lengths, deformation settings, mesh entries) in the reply's segment.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
segment | integer | Zero-based segment index (see spline_list_segments). Valor predeterminado 0. |
Devuelve: segments, count, segment.
landscape.spline_import_points (riesgo 2, modifica, requiere mundo, smoke)
Appends control points in order and, by default, connects consecutive points with segments (optionally closing the loop).
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
points | array of UeaLandSplineImportPoint | obligatorio. Points appended in order (at least two when connect is true). |
connect | boolean | Connect consecutive points with segments. Valor predeterminado true. |
closedLoop | boolean | Also connect the last point back to the first. Valor predeterminado false. |
layerName | string | Paint layer painted under the new segments when splines are applied. |
Devuelve: points, segments.
landscape.spline_list (riesgo 0, requiere mundo, smoke)
Lists the control points and the segment count.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | Landscape actor label, name, or path. Empty selects the only landscape. |
Devuelve: controlPoints, segmentCount, message.
landscape.spline_list_segments (riesgo 0, requiere mundo, smoke)
Lists segments with endpoints, tangents, deformation settings and meshes.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | Landscape actor label, name, or path. Empty selects the only landscape. |
Devuelve: segments, count, segment.
landscape.spline_rebuild (riesgo 2, modifica, requiere mundo, smoke)
Rebuilds spline meshes and collision of the existing network.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | Landscape actor label, name, or path. Empty selects the only landscape. |
Devuelve: controlPoints, segmentCount, message.
landscape.spline_remove_point (riesgo 3, modifica, destructivo, requiere mundo, smoke)
Removes a control point and every segment connected to it; later indices shift down.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
index | integer | Zero-based existing control-point index (see spline_list). Valor predeterminado 0. |
Devuelve: controlPoints, segmentCount, message.
landscape.spline_remove_segment (riesgo 3, modifica, destructivo, requiere mundo, smoke)
Removes one segment (its control points stay).
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
segment | integer | Zero-based segment index (see spline_list_segments). Valor predeterminado 0. |
Devuelve: segments, count, segment.
landscape.spline_set_mesh_entries (riesgo 2, modifica, requiere mundo, smoke)
Replaces the spline mesh entries of one segment (mesh, scale, axes) and rebuilds its meshes.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
segment | integer | Zero-based segment index. Valor predeterminado 0. |
meshes | array of UeaLandSplineMeshEntry | Complete new mesh list; empty clears the meshes. |
Devuelve: segments, count, segment.
landscape.spline_set_point_settings (riesgo 2, modifica, requiere mundo, smoke)
Writes a control point's deformation (layer, raise/lower, end falloff) and point-mesh settings.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
index | integer | Zero-based existing control-point index. Valor predeterminado 0. |
layerName | string | Paint layer painted under the point when splines are applied; empty paints nothing. |
raiseTerrain | boolean | Raise the terrain up to the spline when applied. Valor predeterminado true. |
lowerTerrain | boolean | Lower the terrain down to the spline when applied. Valor predeterminado true. |
endFalloff | number | Falloff at a dead-end point, in centimetres. Valor predeterminado 0. |
segmentMeshOffset | number | Vertical offset of segment meshes at this point, in centimetres. Valor predeterminado 0. |
mesh | string | Static mesh placed at the point; empty removes it. |
meshScale | {x,y,z} | Scale of the point mesh. Valor predeterminado FUeaVec3(1,1,1). |
Devuelve: controlPoints, segmentCount, message.
landscape.spline_set_point_transform (riesgo 2, modifica, requiere mundo, smoke)
Moves and rotates a control point (landscape-local), updating connected segments.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
index | integer | Zero-based existing control-point index. Valor predeterminado 0. |
location | {x,y,z} | New landscape-local location in centimetres. |
rotation | {x,y,z} | New rotation in degrees (pitch, yaw, roll). |
Devuelve: controlPoints, segmentCount, message.
landscape.spline_set_segment (riesgo 2, modifica, requiere mundo, smoke)
Writes a segment's deformation settings (paint layer, raise/lower terrain).
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
segment | integer | Zero-based segment index. Valor predeterminado 0. |
layerName | string | Paint layer painted under the segment when splines are applied; empty paints nothing. |
raiseTerrain | boolean | Raise the terrain up to the spline when applied. Valor predeterminado true. |
lowerTerrain | boolean | Lower the terrain down to the spline when applied. Valor predeterminado true. |
Devuelve: segments, count, segment.
landscape.spline_set_segment_tangents (riesgo 2, modifica, requiere mundo, smoke)
Sets the start/end tangent lengths of a segment.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
segment | integer | Zero-based segment index. Valor predeterminado 0. |
startTangent | number | Start tangent length in centimetres (negative flips the direction). Valor predeterminado 0. |
endTangent | number | End tangent length in centimetres (negative flips the direction). Valor predeterminado 0. |
Devuelve: segments, count, segment.
landscape.spline_set_side_falloff (riesgo 2, modifica, requiere mundo, smoke)
Sets a control point's side falloff in centimetres.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
index | integer | Zero-based existing control-point index. Valor predeterminado 0. |
value | number | Nonnegative width or falloff in centimetres. Valor predeterminado 0. |
Devuelve: controlPoints, segmentCount, message.
landscape.spline_set_width (riesgo 2, modifica, requiere mundo, smoke)
Sets a control point's half-width in centimetres.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
index | integer | Zero-based existing control-point index. Valor predeterminado 0. |
value | number | Nonnegative width or falloff in centimetres. Valor predeterminado 0. |
Devuelve: controlPoints, segmentCount, message.
landscape.stamp_height_region (riesgo 2, modifica, requiere mundo, smoke)
Writes a row-major block of heights (set, add, max or min) with a blend strength.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
minX | integer | X vertex of the block's first column. Valor predeterminado 0. |
minY | integer | Y vertex of the block's first row. Valor predeterminado 0. |
columns | integer | Block width in vertices. Valor predeterminado 1. |
rows | integer | Block height in vertices. Valor predeterminado 1. |
heights | array of integer | obligatorio. Row-major values (columns*rows). set/max/min: absolute uint16 heights; add: signed deltas. |
mode | string | set, add, max or min. Valor predeterminado TEXT("set"). |
strength | number | Blend of the result, 0..1. Valor predeterminado 1.0. |
Devuelve: landscape, message.
landscape.stamp_shape (riesgo 2, modifica, requiere mundo, smoke)
Adds a procedural feature: hill, cone, plateau or crater.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
shape | string | hill (smooth bump), cone, plateau (flat top) or crater (raised rim, sunken bowl). Valor predeterminado TEXT("hill"). |
centerX | integer | Centre X vertex. Valor predeterminado 0. |
centerY | integer | Centre Y vertex. Valor predeterminado 0. |
radius | integer | Radius in vertices. Valor predeterminado 8. |
heightDelta | integer | Signed peak height change in uint16 units (negative digs). Valor predeterminado 512. |
inner | number | Plateau: fraction of the radius that is flat top (0..0.95). Crater: rim position (0.3..0.95). Valor predeterminado 0.5. |
Devuelve: landscape, message.
landscape.terrace_region (riesgo 2, modifica, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape actor reference. |
centerX | integer | Brush centre X in landscape vertex coordinates. Valor predeterminado 0. |
centerY | integer | Brush centre Y in landscape vertex coordinates. Valor predeterminado 0. |
radius | integer | Brush radius in vertices. Valor predeterminado 8. |
strength | integer | Signed height strength in uint16 units. Valor predeterminado 128. |
falloff | number | Edge falloff from 0 (hard) through 1 (linear). Valor predeterminado 1.0. |
targetHeight | integer | Absolute target height for flatten and terrace tools. Valor predeterminado 32768. |
seed | integer | Deterministic noise seed. Valor predeterminado 0. |
terraceStep | integer | Terrace step height in uint16 units. Valor predeterminado 256. |
Devuelve: landscape, message.
landscape.update_collision (riesgo 2, modifica, requiere mundo, smoke)
Recreates every collision component from the current heights (use after height edits before traces or physics).
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | Landscape actor label, name, or path. Empty selects the only landscape. |
Devuelve: landscape, boundsMin, boundsMax, components, collisionComponents.
landscape.validate_layers (riesgo 0, requiere mundo, smoke)
Reports paint layers without a layer-info asset and whether the landscape has a material.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | Landscape actor label, name, or path. Empty selects the only landscape. |
Devuelve: components, layers, hasMaterial, outdatedGrassMaps, warnings.
landscape.vertex_to_world (riesgo 0, requiere mundo, smoke)
Converts landscape vertex coordinates (and a uint16 height, or the terrain height) to a world location.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape reference. |
x | number | Vertex X (fractional allowed). Valor predeterminado 0. |
y | number | Vertex Y (fractional allowed). Valor predeterminado 0. |
height | number | uint16 height; -1 samples the terrain at (x, y). Valor predeterminado -1. |
Devuelve: vertexX, vertexY, height, world, inside, componentSectionBaseX, componentSectionBaseY.
landscape.world_to_vertex (riesgo 0, requiere mundo, smoke)
Converts a world location (cm) to landscape vertex coordinates and uint16 height.
| Argumento | Tipo | Descripción |
|---|---|---|
landscape | string | obligatorio. Landscape reference. |
location | {x,y,z} | World location in cm. |
Devuelve: vertexX, vertexY, height, world, inside, componentSectionBaseX, componentSectionBaseY.