Skip to content

Instantly share code, notes, and snippets.

@johnfredcee
Created August 25, 2024 14:19
Show Gist options
  • Save johnfredcee/34549022216e84532641de8dfb24fb28 to your computer and use it in GitHub Desktop.
Save johnfredcee/34549022216e84532641de8dfb24fb28 to your computer and use it in GitHub Desktop.
Using Geometry Scripting Polygroups with Unreal in Python
polygroup_ids = unreal.GeometryScriptIndexList()
print(polygroup_ids.convert_index_list_to_array())
polygroup_ids_out = unreal.GeometryScript_PolyGroups.get_all_triangle_polygroup_i_ds(dmesh, group_layer, polygroup_ids)
polygroup_ids = polygroup_ids_out[1]
print(polygroup_ids.convert_index_list_to_array())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment