unreal.GeometryCollectionLibrary

class unreal.GeometryCollectionLibrary(outer: Object | None = None, name: Name | str = 'None')

Bases: BlueprintFunctionLibrary

Blueprint library for Geometry Collections.

C++ Source:

  • Module: GeometryCollectionEngine

  • File: GeometryCollectionBlueprintLibrary.h

classmethod set_ism_pool_custom_instance_data(geometry_collection_component, custom_data_index, custom_data_value) None

Set a custom instance data value for all instances associated with a geometry collection. This assumes that the geometry collection is using a custom instanced renderer.

Parameters:
  • geometry_collection_component (GeometryCollectionComponent) – The Geometry Collection Component that we want to set custom instance data on.

  • custom_data_index (int32) – The custom instance data slot that we want to set.

  • custom_data_value (float) – The value to set to the custom instance data slot.