unreal.PVTrunkTextureSetupParams¶
- class unreal.PVTrunkTextureSetupParams¶
Bases:
StructBasePVTrunk Texture Setup Params
C++ Source:
Plugin: ProceduralVegetationEditor
Module: ProceduralVegetation
File: PVTrunkTextureSetupParams.h
Editor Properties: (see get_editor_property/set_editor_property)
asset_name_prefix(str): [Read-Write] Prefix added to baked texture asset names.All baked textures get this prefix in their filename. Useful for distinguishing multiple Texture Setup nodes’ outputs in the same folder.
bake_texture_folder(DirectoryPath): [Read-Write] Folder where baked textures are written / loaded.Path under Content/. In Texture Create mode, textures are written here. In Texture Load mode, they’re read from here. Must exist before baking.
generations(Array[PVTextureGenerationParams]): [Read-Write] Per-generation trim sheet packing configuration.Each entry defines how one branch generation’s textures are arranged within the trim sheet. Add one entry per generation that should have its own texture region.
material(MaterialInstance): [Read-Write] Material instance to populate with the baked textures.After baking, the texture parameters on this material instance are set to the baked outputs. The Mesh Builder can then use this material.
mode(PVTrunkTextureSetupMode): [Read-Write] Bake new textures or load previously-baked ones.Texture Create: Setup textures and bake to disk. Texture Load: Uses textures already in the bake folder. Use Create when iterating on inputs; switch to Load when iterating on downstream nodes.
preview_channel(PVTextureChannel): [Read-Write] Which texture channel to preview in the editor.BaseColor / AO / Normal / Displacement / Bump / Cavity / Gloss / Roughness / Specular / Custom.
resolution(PVTextureResolution): [Read-Write] Resolution of the baked textures.512 to 16384. Higher = more detail, bigger memory cost.
virtual_texture(bool): [Read-Write] Enable virtual texture streaming for the baked textures.Generates the textures as virtual textures (VTs).