unreal.StaticMeshDescription

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

Bases: unreal.MeshDescriptionBase

A wrapper for MeshDescription, customized for static meshes

C++ Source:

  • Module: StaticMeshDescription

  • File: StaticMeshDescription.h

create_cube(center, half_extents, polygon_group) -> (polygon_id_plus_x=PolygonID, polygon_id_minus_x=PolygonID, polygon_id_plus_y=PolygonID, polygon_id_minus_y=PolygonID, polygon_id_plus_z=PolygonID, polygon_id_minus_z=PolygonID)

Create Cube

Parameters
Returns

polygon_id_plus_x (PolygonID):

polygon_id_minus_x (PolygonID):

polygon_id_plus_y (PolygonID):

polygon_id_minus_y (PolygonID):

polygon_id_plus_z (PolygonID):

polygon_id_minus_z (PolygonID):

Return type

tuple

get_vertex_instance_uv(vertex_instance_id, uv_index=0)Vector2D

Get Vertex Instance UV

Parameters
Returns

Return type

Vector2D

set_polygon_group_material_slot_name(polygon_group_id, slot_name)None

Set Polygon Group Material Slot Name

Parameters
set_vertex_instance_uv(vertex_instance_id, uv, uv_index=0)None

Set Vertex Instance UV

Parameters