unreal.PVExportParams

class unreal.PVExportParams

Bases: StructBase

PVExport Params

C++ Source:

  • Plugin: ProceduralVegetationEditor

  • Module: ProceduralVegetation

  • File: PVExportParams.h

Editor Properties: (see get_editor_property/set_editor_property)

  • collision (bool): [Read-Write] Generate collision geometry for the static mesh.

    When on, builds a simplified collision shape. Useful for plants the player can collide with. Higher build time.

  • collision_generation (PVCollisionGeneration): [Read-Write] Generate a physics asset and pick which branches get collision.

    None: no physics asset. TrunkOnly: collide only with the trunk. AllGenerations: collide with every branch (highest cost).

  • content_browser_folder (DirectoryPath): [Read-Write] Folder under Content/ to save the exported asset(s).

    Path relative to the project’s Content folder. The exported mesh and any sub-assets (textures, materials) are written here. Must exist or be a writable parent directory.

  • create_nanite_foliage (bool): [Read-Write] Add Nanite foliage support for the exported mesh.

  • export_mesh_type (PVExportMeshType): [Read-Write] Export as Static Mesh or Skeletal Mesh.

    StaticMesh: no wind animation support. SkeletalMesh: includes bones for wind sway.

  • mesh_name (Name): [Read-Write] Filename for the exported mesh asset.

    Base name for the output. Combines with ReplacePolicy to decide behavior on name collision.

  • nanite_shape_preservation (NaniteShapePreservation): [Read-Write] How Nanite preserves shape during simplification.

    Voxelize (default) is the standard Nanite shape-preservation algorithm. See Unreal’s Nanite documentation for advanced options.

  • replace_policy (PVAssetReplacePolicy): [Read-Write] What to do if the target asset already exists: Append, Replace, or Ignore.

    Append: create a numbered version (MyTree_01, MyTree_02). Replace: overwrite. Ignore: skip the export.

  • wind_settings (PVWindSettings): [Read-Write] Wind simulation preset to assign to the skeletal mesh.

    Contains the Dynamic Wind plugin’s simulation group data. Default presets are available for saplings and trees. Required for wind sway.