unreal.FbxStaticMeshImportData

class unreal.FbxStaticMeshImportData(outer=None, name='None')

Bases: unreal.FbxMeshImportData

Fbx Static Mesh Import Data

C++ Source:

  • Module: UnrealEd

  • File: FbxStaticMeshImportData.h

Editor Properties: (see get_editor_property/set_editor_property)

  • auto_generate_collision (bool): [Read-Write] Auto Generate Collision: If checked, collision will automatically be generated (ignored if custom collision is imported or used).

  • bake_pivot_in_vertex (bool): [Read-Write] Bake Pivot in Vertex: - Experimental - If this option is true the inverse node rotation pivot will be apply to the mesh vertices. The pivot from the DCC will then be the origin of the mesh. Note: “TransformVertexToAbsolute” must be false.

  • build_nanite (bool): [Read-Write] Build Nanite: If enabled, allows to render objects with Nanite

  • build_reversed_index_buffer (bool): [Read-Write] Build Reversed Index Buffer

  • combine_meshes (bool): [Read-Write] Combine Meshes: If enabled, combines all meshes into a single mesh

  • compute_weighted_normals (bool): [Read-Write] Compute Weighted Normals: Enabling this option will use weighted normals algorithm (area and angle) when computing normals or tangents

  • convert_scene (bool): [Read-Write] Convert Scene: Convert the scene from FBX coordinate system to UE coordinate system

  • convert_scene_unit (bool): [Read-Write] Convert Scene Unit: Convert the scene from FBX unit to UE unit (centimeter).

  • distance_field_resolution_scale (float): [Read-Write] Distance Field Resolution Scale: Specify override color in the case that VertexColorImportOption is set to Override

  • force_front_x_axis (bool): [Read-Write] Force Front XAxis: Convert the scene from FBX coordinate system to UE coordinate system with front X axis instead of -Y

  • generate_lightmap_u_vs (bool): [Read-Write] Generate Lightmap UVs

  • import_mesh_lo_ds (bool): [Read-Write] Import Mesh LODs: If enabled, creates LOD models for Unreal meshes from LODs in the import file; If not enabled, only the base mesh from the LOD group is imported

  • import_rotation (Rotator): [Read-Write] Import Rotation

  • import_translation (Vector): [Read-Write] Import Translation

  • import_uniform_scale (float): [Read-Write] Import Uniform Scale

  • normal_generation_method (FBXNormalGenerationMethod): [Read-Write] Normal Generation Method: Use the MikkTSpace tangent space generator for generating normals and tangents on the mesh

  • normal_import_method (FBXNormalImportMethod): [Read-Write] Normal Import Method: Enabling this option will read the tangents(tangent,binormal,normal) from FBX file instead of generating them automatically.

  • one_convex_hull_per_ucx (bool): [Read-Write] One Convex Hull Per UCX: If checked, one convex hull per UCX_ prefixed collision mesh will be generated instead of decomposing into multiple hulls

  • remove_degenerates (bool): [Read-Write] Remove Degenerates: Disabling this option will keep degenerate triangles found. In general you should leave this option on.

  • reorder_material_to_fbx_order (bool): [Read-Write] Reorder Material to Fbx Order: If checked, The material list will be reorder to the same order has the FBX file.

  • source_data (AssetImportInfo): [Read-Only] Source Data: Source file data describing the files that were used to import this asset.

  • static_mesh_lod_group (Name): [Read-Write] Static Mesh LODGroup: The LODGroup to associate with this mesh when it is imported

  • transform_vertex_to_absolute (bool): [Read-Write] Transform Vertex to Absolute: If this option is true the node absolute transform (transform, offset and pivot) will be apply to the mesh vertices.

  • vertex_color_import_option (VertexColorImportOption): [Read-Write] Vertex Color Import Option: Specify how vertex colors should be imported

  • vertex_override_color (Color): [Read-Write] Vertex Override Color: Specify override color in the case that VertexColorImportOption is set to Override

property auto_generate_collision

[Read-Write] Auto Generate Collision: If checked, collision will automatically be generated (ignored if custom collision is imported or used).

Type

(bool)

property build_nanite

[Read-Write] Build Nanite: If enabled, allows to render objects with Nanite

Type

(bool)

property build_reversed_index_buffer

[Read-Write] Build Reversed Index Buffer

Type

(bool)

property combine_meshes

[Read-Write] Combine Meshes: If enabled, combines all meshes into a single mesh

Type

(bool)

property distance_field_resolution_scale

[Read-Write] Distance Field Resolution Scale: Specify override color in the case that VertexColorImportOption is set to Override

Type

(float)

property generate_lightmap_u_vs

[Read-Write] Generate Lightmap UVs

Type

(bool)

property one_convex_hull_per_ucx

[Read-Write] One Convex Hull Per UCX: If checked, one convex hull per UCX_ prefixed collision mesh will be generated instead of decomposing into multiple hulls

Type

(bool)

property remove_degenerates

[Read-Write] Remove Degenerates: Disabling this option will keep degenerate triangles found. In general you should leave this option on.

Type

(bool)

property static_mesh_lod_group

[Read-Write] Static Mesh LODGroup: The LODGroup to associate with this mesh when it is imported

Type

(Name)

property vertex_color_import_option

[Read-Write] Vertex Color Import Option: Specify how vertex colors should be imported

Type

(VertexColorImportOption)

property vertex_override_color

[Read-Write] Vertex Override Color: Specify override color in the case that VertexColorImportOption is set to Override

Type

(Color)