Kit foliage
184 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 foliage kit manages foliage type assets, the instances of the current editor level, headless
surface placement, procedural foliage volumes and folder-wide audits. Everything goes through the
public Foliage runtime APIs (AInstancedFoliageActor, FFoliageInfo, UProceduralFoliageComponent);
the editor's paint brushes live in the private FoliageEdit module and are replaced by the
trace-based tools below. Instance tools work on the current level's instanced foliage actor.
1. Types
foliage.create_type(static mesh) /create_actor_type(actor class) create the asset;duplicate_type,rename_type,delete_type,save_type,list_types,get_type.- Typed setters, all returning the stored values: placement (
set_density,set_radius,set_z_offset,set_align_to_normal,set_align_max_angle,set_random_yaw,set_random_pitch,set_average_normal5.0+), filters (set_ground_slope_filter,set_height_filter,set_type_filtersfor landscape layers), scaling (set_type_scaling), culling and scalability (set_cull_distance,set_scalability,set_cull_distance_scaling5.2+), rendering (set_mobility,set_lighting_channels,set_custom_depth,set_translucency_sort_priority,set_lightmap_resolution, shadows incl.set_shadow_two_sided,set_contact_shadow5.0+,set_shadow_cache_invalidation5.3+,set_visible_in_ray_tracing,set_wpo_disable_distance5.1+,set_virtual_texture), collision (set_collision_enabled,set_collision_profile,set_collision_scale), mesh (set_mesh,set_material_override,set_nanite_material_override5.1+,set_component_class), procedural growth (set_collision_radius,set_shade_radius,set_num_steps,set_seeds_per_step,set_shade_growth,set_procedural_distribution, ...) and actor foliage (set_actor_type_settings). - Readbacks:
get_placement,get_scaling,get_culling,get_lighting,get_collision,get_procedural_settings,get_rendering.set_typeremains for a reviewed property without a typed tool; an unknown property is an error.
2. Level instances
- Register with
add_type_to_level(optional, insertion registers automatically), inspect withlist_level_types,count,get_bounds. - Explicit placement:
add_instances/add_instancewith transforms;scatter_gridandscatter_randomplace at a fixed z without tracing. - Query:
get_instances,get_instance,nearest_instance,get_instances_in_box,get_instances_in_sphere,find_instances(box AND sphere AND z range AND scale range). - Edit:
set_instance_transform(one transform, many indices),set_instance_transforms(one per index),move_instances,scale_instances,rotate_instances,transform_region(every instance in a box),randomize_instances(seeded yaw/uniform scale),duplicate_instances,move_instances_to_type,replace_type(all instances to another type). - Remove:
remove_indices,remove_in_box,remove_in_sphere,remove_filtered,remove_by_type;foliage.remove_allclears every type of the current level (or all levels). - Selection:
select_instances,clear_selection,get_selected_instances. - Custom data:
set_custom_data_channels(5.3+),set_custom_data(5.0+),get_custom_data. Custom data lives on the foliage component and is rebuilt when the type changes; re-apply it after type edits. - Files:
export_instanceswritesSaved/UEAMCP/Foliage/<file>.json(layoutx,y,z,pitch,yaw,roll,scaleX,scaleY,scaleZper type);import_instancesvalidates the whole file first, then inserts (replace:trueclears each target type first,typeredirects every record).
3. Headless placement (tracing)
paint_circle, paint_box, paint_line, paint_actor and scatter_poisson sample points, trace
down with AInstancedFoliageActor::FoliageTrace (same hit rules as the editor: no volumes, no
hidden actors, no NoCollision components, never on the same type), then apply the type's slope,
height and landscape-layer filters, build the instance with a seeded version of the editor's
manual placement (scale mode and ranges, z offset, random yaw/pitch, align to normal), run the
world-collision test when CollisionWithWorld is set, reject samples closer than the type radius,
and insert with FFoliageInfo::AddInstance on the hit component (instances follow their base).
countfixes the sample count;count:0derives it from the type density (instances per 1000x1000 cm).- The reply reports
attempts,placed,noHit,slope,height,layer,collision,overlap;dryRun:truereports without inserting. Usepreview_traceto see what one sample would hit and which filter rejects it. paint_actoronly accepts hits on the named actor (exact label).scatter_poissonuses Bridson sampling withminDistance;trace:falseinserts atmin.zwithout filters.- Follow-ups:
snap_to_ground(drop instances onto the surface, optional normal alignment),reapply_settings(re-roll scale/yaw/pitch from the type's current ranges),thin_instances(greedy spacing enforcement,dryRunavailable). create_groundspawns (or reuses by label) a 10 cm collision slab from/Engine/BasicShapes/Cubewhen a blockout needs a surface.
Recipe: forest floor on a landscape layer
foliage.create_type→set_type_filters {landscapeLayers:['Grass'], minimumLayerWeight:'0.5'}→set_ground_slope_filter {min:0,max:30}.foliage.paint_box {min,max, count:0, seed:1, dryRun:true}and read the rejection counters.- Run it again without
dryRun;foliage.thin_instancesif the radius was raised afterwards.
4. Procedural foliage
- Spawner assets:
create_spawner,get_spawner,set_spawner,set_spawner_seed,set_spawner_tile_size,set_spawner_unique_tiles,validate_spawner,list_spawners,add_spawner_type,remove_spawner_type,list_spawner_types. The type's own procedural fields (collision/shade radius, steps, seeds, spread, ages, overlap priority) drive the growth. - Volumes:
add_volume(box brush + spawner),set_volume(spawner, location, extent, tile overlap),set_volume_filters(landscape/BSP/static mesh/translucent/foliage surfaces),get_volume,list_volumes,add_blocking_volume,remove_volume(also clears its instances). simulaterunsUProceduralFoliageComponent::GenerateProceduralContent, removes the volume's previous instances, traces every desired instance with the volume's surface flags, applies the type filters and inserts throughFPotentialInstance::PlaceInstance+FFoliageInfo, stamping the volume's procedural GUID.resimulate_alldoes it for every volume;volume_statscounts the stamped instances per type;clear_volumeremoves them. Simulation shows the engine's progress slow task while it waits for the tile workers. Same spawner seed + same surfaces = same result.
5. Audits and batches
audit,validate,stats,find_types_by_mesh,audit_density,audit_cull_distance,audit_shadows,audit_collision,find_unused_types: per-type items withwarning,valueand world instance counts.batch_set_*(cull distance, shadows, collision profile, density, radius, mobility, scale, ...) andreplace_type_meshacceptdryRun:trueand reportbefore -> afterper type.- Level hygiene:
list_foliage_actors,cleanup_invalid(non-finite or non-positive-scale instances and registrations of deleted type assets),remove_unused_level_types,rebuild_all(cluster rebuild),move_to_level(current level → another loaded level; same level is a reported no-op),to_static_mesh_actors/from_static_mesh_actors(the actor mesh must equal the type mesh).
Gates
- 5.0+:
set_average_normal,set_contact_shadow,set_include_in_hlod,batch_set_hlod,batch_set_contact_shadow,set_custom_data; 5.1+:set_wpo_disable_distance,set_nanite_material_override; 5.2+:set_cull_distance_scaling; 5.3+:set_shadow_cache_invalidation,set_custom_data_channels.set_actor_type_settingsrejectsstaticMeshOnly:trueon 4.27. - Not available: the interactive paint/erase/lasso brushes of the Foliage editor mode
(
FoliageEditis private). The tools above cover the same outcomes headlessly.
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.
foliage.add_blocking_volume (riesgo 2, modifica, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
label | string | obligatorio. Actor label (must be unused). |
volume | string | Procedural volume it blocks; empty blocks every procedural volume. |
location | {x,y,z} | Volume centre. |
extent | {x,y,z} | Box half size (cm). Valor predeterminado FUeaVec3(200,200,500). |
Devuelve: volume.
foliage.add_instance (riesgo 2, modifica, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. |
transforms | array of UeaFoliageTransform | obligatorio. |
Devuelve: instances, count, total, boundsMin, boundsMax.
foliage.add_instances (riesgo 2, modifica, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. |
transforms | array of UeaFoliageTransform | obligatorio. |
Devuelve: instances, count, total, boundsMin, boundsMax.
foliage.add_spawner_type (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
spawner | string | obligatorio. Procedural foliage spawner asset. |
type | string | obligatorio. Foliage type asset. |
Devuelve: spawner.
foliage.add_type_to_level (riesgo 2, modifica, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. |
Devuelve: types, count.
foliage.add_volume (riesgo 2, modifica, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
label | string | obligatorio. Actor label (must be unused). |
spawner | string | obligatorio. Procedural foliage spawner asset. |
location | {x,y,z} | Volume centre. |
extent | {x,y,z} | Box half size (cm). Valor predeterminado FUeaVec3(1000,1000,500). |
tileOverlap | number | Overlap between simulation tiles (cm). Valor predeterminado 0. |
Devuelve: volume.
foliage.audit (riesgo 0, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
folder | string | Valor predeterminado TEXT("/Game"). |
Devuelve: items, count, changed, warnings, dryRun.
foliage.audit_collision (riesgo 0, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
folder | string | Content folder to scan. Valor predeterminado TEXT("/Game"). |
minInstances | integer | Only flag types with at least this many instances in the editor world. Valor predeterminado 0. |
Devuelve: items, count, changed, warnings, dryRun.
foliage.audit_cull_distance (riesgo 0, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
folder | string | Content folder to scan. Valor predeterminado TEXT("/Game"). |
maxEndDistance | integer | Flag end distances above this value (0 flags only never-culled types). Valor predeterminado 0. |
Devuelve: items, count, changed, warnings, dryRun.
foliage.audit_density (riesgo 0, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
folder | string | Content folder to scan. Valor predeterminado TEXT("/Game"). |
maxDensity | number | Density (instances per 1000x1000 cm) above which a type is flagged. Valor predeterminado 100. |
Devuelve: items, count, changed, warnings, dryRun.
foliage.audit_shadows (riesgo 0, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
folder | string | Content folder to scan. Valor predeterminado TEXT("/Game"). |
minInstances | integer | Only flag types with at least this many instances in the editor world. Valor predeterminado 0. |
Devuelve: items, count, changed, warnings, dryRun.
foliage.batch_set_align_to_normal (riesgo 2, modifica, dryRun, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
folder | string | Content folder to scan. Valor predeterminado TEXT("/Game"). |
value | boolean | Value applied to every type. Valor predeterminado true. |
dryRun | boolean | Report the per-type changes without applying them. Valor predeterminado false. |
Devuelve: items, count, changed, warnings, dryRun.
foliage.batch_set_collision (riesgo 2, modifica, dryRun, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
folder | string | Content folder to scan. Valor predeterminado TEXT("/Game"). |
profile | string | obligatorio. Collision profile name. |
dryRun | boolean | Report the per-type changes without applying them. Valor predeterminado false. |
Devuelve: items, count, changed, warnings, dryRun.
foliage.batch_set_contact_shadow (riesgo 2, modifica, UE 5.0+, dryRun, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
folder | string | Content folder to scan. Valor predeterminado TEXT("/Game"). |
value | boolean | Value applied to every type. Valor predeterminado true. |
dryRun | boolean | Report the per-type changes without applying them. Valor predeterminado false. |
Devuelve: items, count, changed, warnings, dryRun.
foliage.batch_set_cull_distance (riesgo 2, modifica, dryRun, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
folder | string | Content folder to scan. Valor predeterminado TEXT("/Game"). |
startDistance | integer | Cull start distance (cm). Valor predeterminado 0. |
endDistance | integer | Cull end distance (cm). Valor predeterminado 10000. |
dryRun | boolean | Report the per-type changes without applying them. Valor predeterminado false. |
Devuelve: items, count, changed, warnings, dryRun.
foliage.batch_set_decals (riesgo 2, modifica, dryRun, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
folder | string | Content folder to scan. Valor predeterminado TEXT("/Game"). |
value | boolean | Value applied to every type. Valor predeterminado true. |
dryRun | boolean | Report the per-type changes without applying them. Valor predeterminado false. |
Devuelve: items, count, changed, warnings, dryRun.
foliage.batch_set_density (riesgo 2, modifica, dryRun, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
folder | string | Content folder to scan. Valor predeterminado TEXT("/Game"). |
value | number | Value applied to every matching foliage type. Valor predeterminado 0. |
dryRun | boolean | Report the per-type changes without applying them. Valor predeterminado false. |
Devuelve: items, count, changed, warnings, dryRun.
foliage.batch_set_density_scaling (riesgo 2, modifica, dryRun, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
folder | string | Content folder to scan. Valor predeterminado TEXT("/Game"). |
value | boolean | Value applied to every type. Valor predeterminado true. |
dryRun | boolean | Report the per-type changes without applying them. Valor predeterminado false. |
Devuelve: items, count, changed, warnings, dryRun.
foliage.batch_set_distance_field (riesgo 2, modifica, dryRun, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
folder | string | Content folder to scan. Valor predeterminado TEXT("/Game"). |
value | boolean | Value applied to every type. Valor predeterminado true. |
dryRun | boolean | Report the per-type changes without applying them. Valor predeterminado false. |
Devuelve: items, count, changed, warnings, dryRun.
foliage.batch_set_dynamic_shadow (riesgo 2, modifica, dryRun, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
folder | string | Content folder to scan. Valor predeterminado TEXT("/Game"). |
value | boolean | Value applied to every type. Valor predeterminado true. |
dryRun | boolean | Report the per-type changes without applying them. Valor predeterminado false. |
Devuelve: items, count, changed, warnings, dryRun.
foliage.batch_set_hlod (riesgo 2, modifica, UE 5.0+, dryRun, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
folder | string | Content folder to scan. Valor predeterminado TEXT("/Game"). |
value | boolean | Value applied to every type. Valor predeterminado true. |
dryRun | boolean | Report the per-type changes without applying them. Valor predeterminado false. |
Devuelve: items, count, changed, warnings, dryRun.
foliage.batch_set_indirect_lighting (riesgo 2, modifica, dryRun, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
folder | string | Content folder to scan. Valor predeterminado TEXT("/Game"). |
value | boolean | Value applied to every type. Valor predeterminado true. |
dryRun | boolean | Report the per-type changes without applying them. Valor predeterminado false. |
Devuelve: items, count, changed, warnings, dryRun.
foliage.batch_set_mobility (riesgo 2, modifica, dryRun, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
folder | string | Content folder to scan. Valor predeterminado TEXT("/Game"). |
mobility | string | obligatorio. Static, Stationary or Movable. |
dryRun | boolean | Report the per-type changes without applying them. Valor predeterminado false. |
Devuelve: items, count, changed, warnings, dryRun.
foliage.batch_set_occluder (riesgo 2, modifica, dryRun, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
folder | string | Content folder to scan. Valor predeterminado TEXT("/Game"). |
value | boolean | Value applied to every type. Valor predeterminado true. |
dryRun | boolean | Report the per-type changes without applying them. Valor predeterminado false. |
Devuelve: items, count, changed, warnings, dryRun.
foliage.batch_set_radius (riesgo 2, modifica, dryRun, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
folder | string | Content folder to scan. Valor predeterminado TEXT("/Game"). |
value | number | Value applied to every matching foliage type. Valor predeterminado 0. |
dryRun | boolean | Report the per-type changes without applying them. Valor predeterminado false. |
Devuelve: items, count, changed, warnings, dryRun.
foliage.batch_set_random_yaw (riesgo 2, modifica, dryRun, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
folder | string | Content folder to scan. Valor predeterminado TEXT("/Game"). |
value | boolean | Value applied to every type. Valor predeterminado true. |
dryRun | boolean | Report the per-type changes without applying them. Valor predeterminado false. |
Devuelve: items, count, changed, warnings, dryRun.
foliage.batch_set_scale (riesgo 2, modifica, dryRun, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
folder | string | Content folder to scan. Valor predeterminado TEXT("/Game"). |
min | number | Minimum uniform scale. Valor predeterminado 1. |
max | number | Maximum uniform scale. Valor predeterminado 1. |
dryRun | boolean | Report the per-type changes without applying them. Valor predeterminado false. |
Devuelve: items, count, changed, warnings, dryRun.
foliage.batch_set_shadows (riesgo 2, modifica, dryRun, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
folder | string | Content folder to scan. Valor predeterminado TEXT("/Game"). |
value | boolean | Value applied to every type. Valor predeterminado true. |
dryRun | boolean | Report the per-type changes without applying them. Valor predeterminado false. |
Devuelve: items, count, changed, warnings, dryRun.
foliage.batch_set_static_shadow (riesgo 2, modifica, dryRun, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
folder | string | Content folder to scan. Valor predeterminado TEXT("/Game"). |
value | boolean | Value applied to every type. Valor predeterminado true. |
dryRun | boolean | Report the per-type changes without applying them. Valor predeterminado false. |
Devuelve: items, count, changed, warnings, dryRun.
foliage.batch_set_wpo (riesgo 2, modifica, dryRun, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
folder | string | Content folder to scan. Valor predeterminado TEXT("/Game"). |
value | boolean | Value applied to every type. Valor predeterminado true. |
dryRun | boolean | Report the per-type changes without applying them. Valor predeterminado false. |
Devuelve: items, count, changed, warnings, dryRun.
foliage.cleanup_invalid (riesgo 2, modifica, requiere mundo, dryRun, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
allLevels | boolean | Every loaded level instead of only the current level. Valor predeterminado false. |
dryRun | boolean | Report without applying (clean-up tools). Valor predeterminado false. |
Devuelve: types, actors, removed, deletedTypes, dryRun.
foliage.clear_selection (riesgo 2, modifica, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. |
offset | integer | Valor predeterminado 0. |
limit | integer | Valor predeterminado 100. |
Devuelve: instances, count, total, boundsMin, boundsMax.
foliage.clear_volume (riesgo 3, modifica, destructivo, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
volume | string | obligatorio. Exact label of a ProceduralFoliageVolume. |
Devuelve: volumes, desired, placed, noHit, slope, height, layer, collision, removed, instances, types, dryRun.
foliage.count (riesgo 0, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. |
offset | integer | Valor predeterminado 0. |
limit | integer | Valor predeterminado 100. |
Devuelve: instances, count, total, boundsMin, boundsMax.
foliage.create_actor_type (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
folder | string | obligatorio. |
name | string | obligatorio. |
actorClass | string | obligatorio. |
Devuelve: type.
foliage.create_ground (riesgo 2, modifica, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
label | string | Actor label; an existing static-mesh actor with this label is reused and resized. Valor predeterminado TEXT("FoliageGround"). |
center | {x,y,z} | World-space centre of the top surface. |
extent | {x,y,z} | Half size in centimetres (x, y); z is ignored, the slab is 10 cm thick. Valor predeterminado FUeaVec3(1000,1000,0). |
Devuelve: label, path, reused, boundsMin, boundsMax.
foliage.create_spawner (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
folder | string | obligatorio. |
name | string | obligatorio. |
randomSeed | integer | Valor predeterminado 0. |
tileSize | number | Valor predeterminado 10000. |
numUniqueTiles | integer | Valor predeterminado 1. |
Devuelve: spawner.
foliage.create_type (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
folder | string | obligatorio. |
name | string | obligatorio. |
mesh | string | obligatorio. |
Devuelve: type.
foliage.delete_type (riesgo 3, modifica, destructivo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. |
foliage.duplicate_instances (riesgo 2, modifica, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Registered foliage type asset. |
indices | array of integer | obligatorio. Source instance indices. |
offset | {x,y,z} | World offset of the copies. |
Devuelve: instances, count, total, boundsMin, boundsMax.
foliage.duplicate_type (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. |
folder | string | obligatorio. |
name | string | obligatorio. |
Devuelve: type.
foliage.export_instances (riesgo 1, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | Registered foliage type; empty exports every type of the current level. |
file | string | obligatorio. Bare file name (letters, digits, _ and -), without extension. |
Devuelve: path, instances, types.
foliage.find_instances (riesgo 0, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Registered foliage type asset. |
inBox | boolean | Restrict to the min/max box. Valor predeterminado false. |
min | {x,y,z} | Box minimum (with inBox). |
max | {x,y,z} | Box maximum (with inBox). |
center | {x,y,z} | Sphere centre (with radius > 0). |
radius | number | Sphere radius in centimetres; 0 disables the sphere test. Valor predeterminado 0. |
minZ | number | Minimum instance Z. Valor predeterminado -1.0e9. |
maxZ | number | Maximum instance Z. Valor predeterminado 1.0e9. |
minScale | number | Minimum of the largest scale axis. Valor predeterminado 0. |
maxScale | number | Maximum of the largest scale axis. Valor predeterminado 1.0e9. |
limit | integer | Maximum returned records. Valor predeterminado 100. |
Devuelve: instances, count, total, boundsMin, boundsMax.
foliage.find_types_by_mesh (riesgo 0, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
mesh | string | obligatorio. |
folder | string | Valor predeterminado TEXT("/Game"). |
Devuelve: items, count, changed, warnings, dryRun.
foliage.find_unused_types (riesgo 0, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
folder | string | Valor predeterminado TEXT("/Game"). |
Devuelve: items, count, changed, warnings, dryRun.
foliage.from_static_mesh_actors (riesgo 2, modifica, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
actors | array of string | obligatorio. Exact labels of StaticMeshActors whose mesh equals the type mesh. |
type | string | obligatorio. Instanced-static-mesh foliage type receiving the instances. |
deleteActors | boolean | Delete the actors after conversion. Valor predeterminado false. |
Devuelve: actors, count, removed, total.
foliage.get_bounds (riesgo 0, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. |
offset | integer | Valor predeterminado 0. |
limit | integer | Valor predeterminado 100. |
Devuelve: instances, count, total, boundsMin, boundsMax.
foliage.get_collision (riesgo 0, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. |
Devuelve: type, settings.
foliage.get_culling (riesgo 0, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. |
Devuelve: type, settings.
foliage.get_custom_data (riesgo 0, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. |
index | integer | Valor predeterminado -1. |
Devuelve: index, channels, values, component.
foliage.get_instance (riesgo 0, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. |
index | integer | Valor predeterminado -1. |
Devuelve: instance, count.
foliage.get_instances (riesgo 0, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. |
offset | integer | Valor predeterminado 0. |
limit | integer | Valor predeterminado 100. |
Devuelve: instances, count, total, boundsMin, boundsMax.
foliage.get_instances_in_box (riesgo 0, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Registered foliage type asset. |
min | {x,y,z} | World-space inclusive minimum bound. |
max | {x,y,z} | World-space inclusive maximum bound. |
limit | integer | Maximum returned records. Valor predeterminado 100. |
Devuelve: instances, count, total, boundsMin, boundsMax.
foliage.get_instances_in_sphere (riesgo 0, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Registered foliage type asset. |
center | {x,y,z} | World-space centre. |
radius | number | Sphere radius in centimetres. Valor predeterminado 100. |
limit | integer | Maximum returned records. Valor predeterminado 100. |
Devuelve: instances, count, total, boundsMin, boundsMax.
foliage.get_lighting (riesgo 0, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. |
Devuelve: type, settings.
foliage.get_placement (riesgo 0, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. |
Devuelve: type, settings.
foliage.get_procedural_settings (riesgo 0, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. |
Devuelve: type, settings.
foliage.get_rendering (riesgo 0, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. |
Devuelve: type, settings.
foliage.get_scaling (riesgo 0, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. |
Devuelve: type, settings.
foliage.get_selected_instances (riesgo 0, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. |
offset | integer | Valor predeterminado 0. |
limit | integer | Valor predeterminado 100. |
Devuelve: instances, count, total, boundsMin, boundsMax.
foliage.get_spawner (riesgo 0, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
spawner | string | obligatorio. |
Devuelve: spawner.
foliage.get_type (riesgo 0, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. |
Devuelve: type.
foliage.get_volume (riesgo 0, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
volume | string | obligatorio. Exact label of a ProceduralFoliageVolume. |
Devuelve: volume.
foliage.import_instances (riesgo 2, modifica, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
file | string | obligatorio. Bare file name written by foliage.export_instances. |
type | string | Import every record into this type instead of the recorded ones. |
replace | boolean | Remove the existing instances of each target type first. Valor predeterminado false. |
Devuelve: path, instances, types.
foliage.list_foliage_actors (riesgo 0, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
allLevels | boolean | Every loaded level instead of only the current level. Valor predeterminado false. |
dryRun | boolean | Report without applying (clean-up tools). Valor predeterminado false. |
Devuelve: actors, count, instances.
foliage.list_level_types (riesgo 0, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
folder | string | Valor predeterminado TEXT("/Game"). |
limit | integer | Valor predeterminado 100. |
Devuelve: types, count.
foliage.list_spawner_types (riesgo 0, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
spawner | string | obligatorio. |
Devuelve: spawner.
foliage.list_spawners (riesgo 0, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
folder | string | Content folder to scan recursively. Valor predeterminado TEXT("/Game"). |
Devuelve: spawners, count.
foliage.list_types (riesgo 0, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
folder | string | Valor predeterminado TEXT("/Game"). |
limit | integer | Valor predeterminado 100. |
Devuelve: types, count.
foliage.list_volumes (riesgo 0, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
includeBlocking | boolean | Include procedural blocking volumes. Valor predeterminado true. |
Devuelve: volumes, count, removedInstances.
foliage.move_instances (riesgo 2, modifica, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. |
indices | array of integer | obligatorio. |
offset | {x,y,z} |
Devuelve: instances, count, total, boundsMin, boundsMax.
foliage.move_instances_to_type (riesgo 2, modifica, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Registered source foliage type. |
indices | array of integer | obligatorio. Instance indices. |
targetType | string | obligatorio. Destination foliage type asset. |
Devuelve: instances, count, total, boundsMin, boundsMax.
foliage.move_to_level (riesgo 2, modifica, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | Registered foliage type; empty moves every type. |
indices | array of integer | Instance indices (with type); empty moves every instance. |
level | string | obligatorio. Target level: "persistent", the package short name or the full package name of a loaded level. |
Devuelve: sourceLevel, targetLevel, moved, note.
foliage.nearest_instance (riesgo 0, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. |
location | {x,y,z} | obligatorio. |
Devuelve: instance, count.
foliage.paint_actor (riesgo 2, modifica, requiere mundo, dryRun, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
actor | string | obligatorio. Actor label or name whose surfaces receive instances. |
Devuelve: type, attempts, placed, noHit, slope, height, layer, collision, overlap, removed, total, dryRun, instances.
foliage.paint_box (riesgo 2, modifica, requiere mundo, dryRun, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
min | {x,y,z} | Box minimum (x, y; z averaged with max as the trace mid-height). |
max | {x,y,z} | Box maximum. |
Devuelve: type, attempts, placed, noHit, slope, height, layer, collision, overlap, removed, total, dryRun, instances.
foliage.paint_circle (riesgo 2, modifica, requiere mundo, dryRun, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
center | {x,y,z} | Circle centre; z is the trace mid-height. |
radius | number | Circle radius (cm). Valor predeterminado 500. |
Devuelve: type, attempts, placed, noHit, slope, height, layer, collision, overlap, removed, total, dryRun, instances.
foliage.paint_line (riesgo 2, modifica, requiere mundo, dryRun, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
start | {x,y,z} | Segment start. |
end | {x,y,z} | Segment end. |
spacing | number | Distance between samples (cm). Valor predeterminado 100. |
jitter | number | Random XY offset of each sample (cm). Valor predeterminado 0. |
Devuelve: type, attempts, placed, noHit, slope, height, layer, collision, overlap, removed, total, dryRun, instances.
foliage.preview_trace (riesgo 0, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Foliage type whose filters are evaluated. |
location | {x,y,z} | Sample position; z is the trace mid-height. |
traceHalfHeight | number | Trace half height (cm). Valor predeterminado 5000. |
Devuelve: hit, location, normal, slopeDegrees, actor, component, landscape, rejection.
foliage.randomize_instances (riesgo 2, modifica, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Registered foliage type asset. |
indices | array of integer | Instance indices; empty means every instance. |
seed | integer | Random seed. Valor predeterminado 0. |
randomYaw | boolean | Replace yaw with a random value. Valor predeterminado true. |
scaleMin | number | Minimum uniform scale. Valor predeterminado 1. |
scaleMax | number | Maximum uniform scale. Valor predeterminado 1. |
Devuelve: instances, count, total, boundsMin, boundsMax.
foliage.reapply_settings (riesgo 2, modifica, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Registered foliage type. |
indices | array of integer | Instance indices; empty means every instance. |
seed | integer | Random seed. Valor predeterminado 0. |
scale | boolean | Re-roll scale from the scaling mode and ranges. Valor predeterminado true. |
yaw | boolean | Re-roll yaw (0..360). Valor predeterminado true. |
pitch | boolean | Re-roll pitch within RandomPitchAngle. Valor predeterminado false. |
Devuelve: type, attempts, placed, noHit, slope, height, layer, collision, overlap, removed, total, dryRun, instances.
foliage.rebuild (riesgo 2, modifica, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. |
offset | integer | Valor predeterminado 0. |
limit | integer | Valor predeterminado 100. |
Devuelve: instances, count, total, boundsMin, boundsMax.
foliage.rebuild_all (riesgo 2, modifica, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
allLevels | boolean | Every loaded level instead of only the current level. Valor predeterminado false. |
dryRun | boolean | Report without applying (clean-up tools). Valor predeterminado false. |
Devuelve: types, actors, removed, deletedTypes, dryRun.
foliage.remove_all (riesgo 3, modifica, destructivo, requiere mundo, dryRun, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
allLevels | boolean | Every loaded level instead of only the current level. Valor predeterminado false. |
dryRun | boolean | Report without applying (clean-up tools). Valor predeterminado false. |
Devuelve: types, actors, removed, deletedTypes, dryRun.
foliage.remove_by_type (riesgo 3, modifica, destructivo, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. |
offset | integer | Valor predeterminado 0. |
limit | integer | Valor predeterminado 100. |
Devuelve: instances, count, total, boundsMin, boundsMax.
foliage.remove_filtered (riesgo 3, modifica, destructivo, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Registered foliage type asset. |
inBox | boolean | Restrict to the min/max box. Valor predeterminado false. |
min | {x,y,z} | Box minimum (with inBox). |
max | {x,y,z} | Box maximum (with inBox). |
center | {x,y,z} | Sphere centre (with radius > 0). |
radius | number | Sphere radius in centimetres; 0 disables the sphere test. Valor predeterminado 0. |
minZ | number | Minimum instance Z. Valor predeterminado -1.0e9. |
maxZ | number | Maximum instance Z. Valor predeterminado 1.0e9. |
minScale | number | Minimum of the largest scale axis. Valor predeterminado 0. |
maxScale | number | Maximum of the largest scale axis. Valor predeterminado 1.0e9. |
limit | integer | Maximum returned records. Valor predeterminado 100. |
Devuelve: instances, count, total, boundsMin, boundsMax.
foliage.remove_in_box (riesgo 3, modifica, destructivo, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Registered foliage type asset. |
min | {x,y,z} | World-space inclusive minimum bound. |
max | {x,y,z} | World-space inclusive maximum bound. |
limit | integer | Maximum returned records. Valor predeterminado 100. |
Devuelve: instances, count, total, boundsMin, boundsMax.
foliage.remove_in_sphere (riesgo 3, modifica, destructivo, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Registered foliage type asset. |
center | {x,y,z} | World-space centre. |
radius | number | Sphere radius in centimetres. Valor predeterminado 100. |
limit | integer | Maximum returned records. Valor predeterminado 100. |
Devuelve: instances, count, total, boundsMin, boundsMax.
foliage.remove_indices (riesgo 3, modifica, destructivo, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. |
indices | array of integer | obligatorio. |
Devuelve: instances, count, total, boundsMin, boundsMax.
foliage.remove_spawner_type (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
spawner | string | obligatorio. Procedural foliage spawner asset. |
type | string | obligatorio. Foliage type asset. |
Devuelve: spawner.
foliage.remove_type_from_level (riesgo 3, modifica, destructivo, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. |
Devuelve: types, count.
foliage.remove_unused_level_types (riesgo 3, modifica, destructivo, requiere mundo, dryRun, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
dryRun | boolean | Report without applying. Valor predeterminado false. |
Devuelve: items, count, changed, warnings, dryRun.
foliage.remove_volume (riesgo 3, modifica, destructivo, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
volumes | array of string | obligatorio. Exact labels of ProceduralFoliageVolume or ProceduralFoliageBlockingVolume actors. |
clearInstances | boolean | Remove the instances spawned by each procedural volume first. Valor predeterminado true. |
Devuelve: volumes, count, removedInstances.
foliage.rename_type (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. |
name | string | obligatorio. |
Devuelve: type.
foliage.replace_type (riesgo 3, modifica, destructivo, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
sourceType | string | obligatorio. Existing registered foliage type. |
targetType | string | obligatorio. Destination foliage type asset. |
Devuelve: instances, count, total, boundsMin, boundsMax.
foliage.replace_type_mesh (riesgo 2, modifica, dryRun, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
folder | string | Content folder to scan. Valor predeterminado TEXT("/Game"). |
fromMesh | string | obligatorio. Static mesh currently used by the types. |
toMesh | string | obligatorio. Static mesh assigned instead. |
dryRun | boolean | Report the per-type changes without applying them. Valor predeterminado false. |
Devuelve: items, count, changed, warnings, dryRun.
foliage.resimulate_all (riesgo 2, modifica, requiere mundo, dryRun, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
respectFilters | boolean | Apply the type slope, height and landscape-layer filters to the traced hits. Valor predeterminado true. |
dryRun | boolean | Run the simulations and traces without replacing instances. Valor predeterminado false. |
Devuelve: volumes, desired, placed, noHit, slope, height, layer, collision, removed, instances, types, dryRun.
foliage.rotate_instances (riesgo 2, modifica, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. |
indices | array of integer | obligatorio. |
delta | {x,y,z} |
Devuelve: instances, count, total, boundsMin, boundsMax.
foliage.save_type (riesgo 2)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. |
Devuelve: type.
foliage.scale_instances (riesgo 2, modifica, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. |
indices | array of integer | obligatorio. |
multiplier | {x,y,z} | Valor predeterminado FUeaVec3(1,1,1). |
Devuelve: instances, count, total, boundsMin, boundsMax.
foliage.scatter_grid (riesgo 2, modifica, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Registered foliage type asset. |
min | {x,y,z} | World-space minimum corner. |
max | {x,y,z} | World-space maximum corner. |
spacing | number | Grid spacing in centimetres. Valor predeterminado 100. |
z | number | Placement height in centimetres. Valor predeterminado 0. |
maxInstances | integer | Maximum instances to add. Valor predeterminado 1000. |
seed | integer | Deterministic yaw seed. Valor predeterminado 0. |
Devuelve: instances, count, total, boundsMin, boundsMax.
foliage.scatter_poisson (riesgo 2, modifica, requiere mundo, dryRun, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
min | {x,y,z} | Rectangle minimum. |
max | {x,y,z} | Rectangle maximum. |
minDistance | number | Minimum distance between samples (cm). Valor predeterminado 100. |
trace | boolean | Trace to the surface; false places at z (Min.z) without filters. Valor predeterminado true. |
Devuelve: type, attempts, placed, noHit, slope, height, layer, collision, overlap, removed, total, dryRun, instances.
foliage.scatter_random (riesgo 2, modifica, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Registered foliage type asset. |
min | {x,y,z} | World-space minimum corner. |
max | {x,y,z} | World-space maximum corner. |
spacing | number | Grid spacing in centimetres. Valor predeterminado 100. |
z | number | Placement height in centimetres. Valor predeterminado 0. |
maxInstances | integer | Maximum instances to add. Valor predeterminado 1000. |
seed | integer | Deterministic yaw seed. Valor predeterminado 0. |
Devuelve: instances, count, total, boundsMin, boundsMax.
foliage.select_instances (riesgo 2, modifica, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Registered foliage type asset. |
indices | array of integer | Instance indices. |
replace | boolean | Replace selection when true; otherwise add. Valor predeterminado true. |
Devuelve: instances, count, total, boundsMin, boundsMax.
foliage.set_actor_type_settings (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Actor foliage type asset (FoliageType_Actor). |
attachToBase | boolean | Attach spawned actors to the component they were placed on. Valor predeterminado true. |
staticMeshOnly | boolean | 5.0+: render the actor's static meshes as instances instead of spawning actors (ignored with a note on 4.27). Valor predeterminado false. |
Devuelve: type, settings.
foliage.set_affect_distance_field (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Foliage type asset. |
enabled | boolean | Requested setting state. Valor predeterminado true. |
Devuelve: type.
foliage.set_affect_dynamic_indirect_lighting (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Foliage type asset. |
enabled | boolean | Requested setting state. Valor predeterminado true. |
Devuelve: type.
foliage.set_align_max_angle (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Foliage type asset. |
value | number | Value in degrees. Valor predeterminado 0. |
Devuelve: type, settings.
foliage.set_align_to_normal (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Foliage type asset. |
enabled | boolean | Requested setting state. Valor predeterminado true. |
Devuelve: type.
foliage.set_average_normal (riesgo 2, modifica, UE 5.0+, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Foliage type asset. |
enabled | boolean | Average the surface normal over several traces. Valor predeterminado true. |
singleComponent | boolean | Only sample the component that was hit first. Valor predeterminado true. |
sampleCount | integer | Number of normal samples (1..64). Valor predeterminado 10. |
Devuelve: type, settings.
foliage.set_average_spread_distance (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Foliage type asset. |
value | number | Numeric value. Valor predeterminado 0. |
Devuelve: type.
foliage.set_cast_shadow (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Foliage type asset. |
enabled | boolean | Requested setting state. Valor predeterminado true. |
Devuelve: type.
foliage.set_collision_enabled (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Foliage type asset. |
enabled | boolean | Requested setting state. Valor predeterminado true. |
Devuelve: type.
foliage.set_collision_profile (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Foliage type asset. |
profile | string | obligatorio. Engine collision profile name. |
Devuelve: type.
foliage.set_collision_radius (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Foliage type asset. |
value | number | Numeric value. Valor predeterminado 0. |
Devuelve: type.
foliage.set_collision_scale (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Foliage type asset. |
scale | {x,y,z} | Scale applied to the mesh bounds in the world-collision test. Valor predeterminado FUeaVec3(0.9,0.9,0.9). |
Devuelve: type, settings.
foliage.set_component_class (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Instanced-static-mesh foliage type asset. |
componentClass | string | obligatorio. Class deriving from FoliageInstancedStaticMeshComponent. |
Devuelve: type, settings.
foliage.set_contact_shadow (riesgo 2, modifica, UE 5.0+, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Foliage type asset. |
enabled | boolean | Requested state. Valor predeterminado true. |
Devuelve: type, settings.
foliage.set_cull_distance (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Foliage type asset. |
min | number | Inclusive lower value. Valor predeterminado 0. |
max | number | Inclusive upper value. Valor predeterminado 0. |
Devuelve: type.
foliage.set_cull_distance_scaling (riesgo 2, modifica, UE 5.2+, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Foliage type asset. |
enabled | boolean | Requested state. Valor predeterminado true. |
Devuelve: type, settings.
foliage.set_custom_data (riesgo 2, modifica, UE 5.3+, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Registered foliage type asset. |
indices | array of integer | obligatorio. Instance indices. |
channel | integer | Custom-data channel. Valor predeterminado 0. |
value | number | Value for the channel. Valor predeterminado 0. |
Devuelve: instances, count, total, boundsMin, boundsMax.
foliage.set_custom_data_channels (riesgo 2, modifica, UE 5.3+, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Registered instanced-static-mesh foliage type. |
count | integer | Custom data floats per instance (0..32). Valor predeterminado 1. |
Devuelve: index, channels, values, component.
foliage.set_custom_depth (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Foliage type asset. |
enabled | boolean | Render into the custom depth pass. Valor predeterminado true. |
stencilValue | integer | Stencil value 0..255. Valor predeterminado 0. |
Devuelve: type, settings.
foliage.set_density (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Foliage type asset. |
value | number | Numeric value. Valor predeterminado 0. |
Devuelve: type.
foliage.set_dynamic_shadow (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Foliage type asset. |
enabled | boolean | Requested setting state. Valor predeterminado true. |
Devuelve: type.
foliage.set_evaluate_world_position_offset (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Foliage type asset. |
enabled | boolean | Requested setting state. Valor predeterminado true. |
Devuelve: type.
foliage.set_ground_slope_filter (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Foliage type asset. |
min | number | Inclusive lower value. Valor predeterminado 0. |
max | number | Inclusive upper value. Valor predeterminado 0. |
Devuelve: type.
foliage.set_height_filter (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Foliage type asset. |
min | number | Inclusive lower value. Valor predeterminado 0. |
max | number | Inclusive upper value. Valor predeterminado 0. |
Devuelve: type.
foliage.set_include_in_hlod (riesgo 2, modifica, UE 5.0+, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Foliage type asset. |
enabled | boolean | Requested setting state. Valor predeterminado true. |
Devuelve: type.
foliage.set_initial_seed_density (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Foliage type asset. |
value | number | Numeric value. Valor predeterminado 0. |
Devuelve: type.
foliage.set_instance_transform (riesgo 2, modifica, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. |
indices | array of integer | obligatorio. |
transform | UeaFoliageTransform | obligatorio. |
Devuelve: instances, count, total, boundsMin, boundsMax.
foliage.set_instance_transforms (riesgo 2, modifica, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Registered foliage type asset. |
indices | array of integer | obligatorio. Instance indices. |
transforms | array of UeaFoliageTransform | obligatorio. One transform per index. |
Devuelve: instances, count, total, boundsMin, boundsMax.
foliage.set_lighting_channels (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Foliage type asset. |
channel0 | boolean | Lighting channel 0. Valor predeterminado true. |
channel1 | boolean | Lighting channel 1. Valor predeterminado false. |
channel2 | boolean | Lighting channel 2. Valor predeterminado false. |
Devuelve: type, settings.
foliage.set_lightmap_resolution (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Foliage type asset. |
override | boolean | Override the mesh lightmap resolution. Valor predeterminado true. |
resolution | integer | Lightmap resolution (4..4096) used when overriding. Valor predeterminado 64. |
Devuelve: type, settings.
foliage.set_material_override (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Foliage type asset. |
slot | integer | Zero-based mesh material slot. Valor predeterminado 0. |
material | string | obligatorio. Material-interface asset path. |
Devuelve: type.
foliage.set_max_age (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Foliage type asset. |
value | number | Numeric value. Valor predeterminado 0. |
Devuelve: type.
foliage.set_max_initial_age (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Foliage type asset. |
value | number | Numeric value. Valor predeterminado 0. |
Devuelve: type.
foliage.set_max_initial_seed_offset (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Foliage type asset. |
value | number | Numeric value. Valor predeterminado 0. |
Devuelve: type.
foliage.set_mesh (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Foliage type asset. |
mesh | string | obligatorio. Static mesh asset path. |
Devuelve: type.
foliage.set_minimum_layer_weight (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Foliage type asset. |
value | number | Numeric value. Valor predeterminado 0. |
Devuelve: type.
foliage.set_mobility (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Foliage type asset. |
mobility | string | obligatorio. Static, Stationary or Movable. |
Devuelve: type, settings.
foliage.set_nanite_material_override (riesgo 2, modifica, UE 5.1+, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Instanced-static-mesh foliage type asset. |
slot | integer | Zero-based slot. Valor predeterminado 0. |
material | string | obligatorio. Material interface asset path. |
Devuelve: type, settings.
foliage.set_num_steps (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Foliage type asset. |
value | number | Numeric value. Valor predeterminado 0. |
Devuelve: type.
foliage.set_overlap_priority (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Foliage type asset. |
value | number | Numeric value. Valor predeterminado 0. |
Devuelve: type.
foliage.set_procedural_distribution (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Foliage type asset. |
spreadVariance | number | Variance of the spread distance (centimetres). Valor predeterminado 150. |
distributionSeed | integer | Seed of the distribution. Valor predeterminado 0. |
proceduralScaleMin | number | Scale of the youngest instance. Valor predeterminado 1. |
proceduralScaleMax | number | Scale of the oldest instance. Valor predeterminado 3. |
Devuelve: type, settings.
foliage.set_radius (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Foliage type asset. |
value | number | Numeric value. Valor predeterminado 0. |
Devuelve: type.
foliage.set_random_pitch (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Foliage type asset. |
value | number | Value in degrees. Valor predeterminado 0. |
Devuelve: type, settings.
foliage.set_random_yaw (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Foliage type asset. |
enabled | boolean | Requested setting state. Valor predeterminado true. |
Devuelve: type.
foliage.set_receive_decals (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Foliage type asset. |
enabled | boolean | Requested setting state. Valor predeterminado true. |
Devuelve: type.
foliage.set_runtime_virtual_texture (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Foliage type asset. |
enabled | boolean | Requested setting state. Valor predeterminado true. |
Devuelve: type.
foliage.set_scalability (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Foliage type asset. |
densityScaling | boolean | Scale instance density with foliage.DensityScale / scalability. Valor predeterminado false. |
discardOnLoad | boolean | Discard instances on load when density scaling culls them. Valor predeterminado false. |
Devuelve: type, settings.
foliage.set_seeds_per_step (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Foliage type asset. |
value | number | Numeric value. Valor predeterminado 0. |
Devuelve: type.
foliage.set_shade_growth (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Foliage type asset. |
canGrowInShade | boolean | Instances may grow in the shade of others. Valor predeterminado false. |
spawnsInShade | boolean | New seeds may only spawn in shade. Valor predeterminado false. |
Devuelve: type, settings.
foliage.set_shade_radius (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Foliage type asset. |
value | number | Numeric value. Valor predeterminado 0. |
Devuelve: type.
foliage.set_shadow_cache_invalidation (riesgo 2, modifica, UE 5.3+, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Foliage type asset. |
value | string | obligatorio. Enum entry name (e.g. Auto, Always, Rigid, Static). |
Devuelve: type, settings.
foliage.set_shadow_two_sided (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Foliage type asset. |
enabled | boolean | Requested state. Valor predeterminado true. |
Devuelve: type, settings.
foliage.set_spawner (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
spawner | string | obligatorio. |
property | string | obligatorio. |
value | string | obligatorio. |
Devuelve: spawner.
foliage.set_spawner_seed (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
spawner | string | obligatorio. Procedural foliage spawner asset. |
value | integer | Integer seed/count or centimetre tile size. Valor predeterminado 0. |
asset | UeaAssetInfo | |
randomSeed | integer | Valor predeterminado 0. |
tileSize | number | Valor predeterminado 0. |
numUniqueTiles | integer | Valor predeterminado 0. |
typeCount | integer | Valor predeterminado 0. |
types | array of string | Foliage type assets simulated by the spawner. |
Devuelve: spawner.
foliage.set_spawner_tile_size (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
spawner | string | obligatorio. Procedural foliage spawner asset. |
value | integer | Integer seed/count or centimetre tile size. Valor predeterminado 0. |
asset | UeaAssetInfo | |
randomSeed | integer | Valor predeterminado 0. |
tileSize | number | Valor predeterminado 0. |
numUniqueTiles | integer | Valor predeterminado 0. |
typeCount | integer | Valor predeterminado 0. |
types | array of string | Foliage type assets simulated by the spawner. |
Devuelve: spawner.
foliage.set_spawner_unique_tiles (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
spawner | string | obligatorio. Procedural foliage spawner asset. |
value | integer | Integer seed/count or centimetre tile size. Valor predeterminado 0. |
asset | UeaAssetInfo | |
randomSeed | integer | Valor predeterminado 0. |
tileSize | number | Valor predeterminado 0. |
numUniqueTiles | integer | Valor predeterminado 0. |
typeCount | integer | Valor predeterminado 0. |
types | array of string | Foliage type assets simulated by the spawner. |
Devuelve: spawner.
foliage.set_static_shadow (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Foliage type asset. |
enabled | boolean | Requested setting state. Valor predeterminado true. |
Devuelve: type.
foliage.set_translucency_sort_priority (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Foliage type asset. |
value | integer | Integer value. Valor predeterminado 0. |
Devuelve: type, settings.
foliage.set_type (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. |
property | string | obligatorio. |
value | string | obligatorio. |
Devuelve: type.
foliage.set_type_filters (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. |
landscapeLayers | array of string | |
exclusionLandscapeLayers | array of string | |
minimumLayerWeight | string | |
collisionWithWorld | string |
Devuelve: type.
foliage.set_type_instance_settings (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. |
property | string | obligatorio. |
value | string | obligatorio. |
Devuelve: type.
foliage.set_type_placement (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. |
density | string | |
radius | string | |
zOffsetMin | string | |
zOffsetMax | string | |
alignToNormal | string | |
randomYaw | string | |
randomPitchAngle | string | |
groundSlopeMin | string | |
groundSlopeMax | string |
Devuelve: type.
foliage.set_type_procedural (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. |
property | string | obligatorio. |
value | string | obligatorio. |
Devuelve: type.
foliage.set_type_scaling (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. |
scaling | string | |
scaleXMin | string | |
scaleXMax | string | |
scaleYMin | string | |
scaleYMax | string | |
scaleZMin | string | |
scaleZMax | string |
Devuelve: type.
foliage.set_use_as_occluder (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Foliage type asset. |
enabled | boolean | Requested setting state. Valor predeterminado true. |
Devuelve: type.
foliage.set_virtual_texture (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Foliage type asset. |
textures | array of string | Runtime virtual texture asset paths written to (replaces the list; empty clears it). |
cullMips | integer | Mips culled from the virtual texture pass (0..7). Valor predeterminado 0. |
passType | string | Main-pass rendering: Never, Exclusive or Always. Valor predeterminado TEXT("Exclusive"). |
Devuelve: type, settings.
foliage.set_visible_in_ray_tracing (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Foliage type asset. |
enabled | boolean | Requested state. Valor predeterminado true. |
Devuelve: type, settings.
foliage.set_volume (riesgo 2, modifica, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
volume | string | obligatorio. Exact label of a ProceduralFoliageVolume. |
spawner | string | New spawner asset; empty keeps the current one. |
setLocation | boolean | Move the volume to location. Valor predeterminado false. |
location | {x,y,z} | New centre (with setLocation). |
extent | {x,y,z} | New box half size; all zero keeps the brush. |
tileOverlap | number | New tile overlap (cm); negative keeps the current value. Valor predeterminado -1. |
Devuelve: volume.
foliage.set_volume_filters (riesgo 2, modifica, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
volume | string | obligatorio. Exact label of a ProceduralFoliageVolume. |
allowLandscape | boolean | Spawn on landscapes. Valor predeterminado true. |
allowBSP | boolean | Spawn on BSP. Valor predeterminado true. |
allowStaticMesh | boolean | Spawn on static meshes. Valor predeterminado true. |
allowTranslucent | boolean | Spawn on translucent geometry. Valor predeterminado false. |
allowFoliage | boolean | Spawn on other foliage. Valor predeterminado false. |
Devuelve: volume.
foliage.set_wpo_disable_distance (riesgo 2, modifica, UE 5.1+, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Foliage type asset. |
value | integer | Integer value. Valor predeterminado 0. |
Devuelve: type, settings.
foliage.set_z_offset (riesgo 2, modifica, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Foliage type asset. |
min | number | Inclusive lower value. Valor predeterminado 0. |
max | number | Inclusive upper value. Valor predeterminado 0. |
Devuelve: type.
foliage.simulate (riesgo 2, modifica, requiere mundo, dryRun, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
volume | string | obligatorio. Exact label of a ProceduralFoliageVolume. |
respectFilters | boolean | Apply the type slope, height and landscape-layer filters to the traced hits. Valor predeterminado true. |
dryRun | boolean | Run the simulation and traces without replacing the volume's instances. Valor predeterminado false. |
Devuelve: volumes, desired, placed, noHit, slope, height, layer, collision, removed, instances, types, dryRun.
foliage.snap_to_ground (riesgo 2, modifica, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Registered foliage type. |
indices | array of integer | Instance indices; empty means every instance. |
alignToNormal | boolean | Align to the surface normal (keeps yaw). Valor predeterminado false. |
traceHalfHeight | number | Trace half height (cm). Valor predeterminado 5000. |
Devuelve: type, attempts, placed, noHit, slope, height, layer, collision, overlap, removed, total, dryRun, instances.
foliage.stats (riesgo 0, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
folder | string | Valor predeterminado TEXT("/Game"). |
Devuelve: items, count, changed, warnings, dryRun.
foliage.thin_instances (riesgo 3, modifica, destructivo, requiere mundo, dryRun, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Registered foliage type. |
minDistance | number | Minimum distance (cm); 0 uses the type radius. Valor predeterminado 0. |
dryRun | boolean | Report without removing. Valor predeterminado false. |
Devuelve: type, attempts, placed, noHit, slope, height, layer, collision, overlap, removed, total, dryRun, instances.
foliage.to_static_mesh_actors (riesgo 2, modifica, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Registered instanced-static-mesh foliage type. |
indices | array of integer | Instance indices; empty converts every instance (max 1000). |
labelPrefix | string | Label prefix; actors are labelled TEXT("FoliageActor"). |
removeInstances | boolean | Remove the converted instances. Valor predeterminado false. |
Devuelve: actors, count, removed, total.
foliage.transform_region (riesgo 2, modifica, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
type | string | obligatorio. Registered foliage type asset. |
min | {x,y,z} | Box minimum. |
max | {x,y,z} | Box maximum. |
offset | {x,y,z} | World offset added to each instance. |
rotationDelta | {x,y,z} | Rotation delta (pitch, yaw, roll) applied to each instance. |
scaleMultiplier | {x,y,z} | Per-axis scale multiplier. Valor predeterminado FUeaVec3(1,1,1). |
Devuelve: instances, count, total, boundsMin, boundsMax.
foliage.validate (riesgo 0, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
folder | string | Valor predeterminado TEXT("/Game"). |
Devuelve: items, count, changed, warnings, dryRun.
foliage.validate_spawner (riesgo 0, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
spawner | string | obligatorio. |
Devuelve: spawner.
foliage.volume_stats (riesgo 0, requiere mundo, smoke)
Sin descripción.
| Argumento | Tipo | Descripción |
|---|---|---|
volume | string | obligatorio. Exact label of a ProceduralFoliageVolume. |
Devuelve: volumes, desired, placed, noHit, slope, height, layer, collision, removed, instances, types, dryRun.