unreal.GeometryCollection

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

Bases: unreal.Object

UGeometryCollectionObject (UObject)

UObject wrapper for the FGeometryCollection

C++ Source:

  • Module: GeometryCollectionEngine

  • File: GeometryCollectionObject.h

Editor Properties: (see get_editor_property/set_editor_property)

  • cluster_connection_type (ClusterConnectionTypeEnum): [Read-Write] Cluster Connection Type

  • cluster_group_index (int32): [Read-Write] Maximum level for cluster breaks.

  • collision_object_reduction_percentage (float): [Read-Write] * Resolution on the smallest axes for the level set. (def: 10)

  • collision_particles_fraction (float): [Read-Write] Number of particles on the triangulated surface to use for collisions.

  • collision_type (CollisionTypeEnum): [Read-Write] * CollisionType defines how to initialize the rigid collision structures.

  • damage_threshold (Array(float)): [Read-Write] Damage threshold for clusters at different levels.

  • enable_clustering (bool): [Read-Write] Enable Clustering

  • enable_remove_pieces_on_fracture (bool): [Read-Write] Enable remove pieces on fracture

  • geometry_source (Array(GeometryCollectionSource)): [Read-Write] Geometry Source

  • implicit_type (ImplicitTypeEnum): [Read-Write] * CollisionType defines how to initialize the rigid collision structures.

  • mass (float): [Read-Write] Total Mass of Collection. If density, units are in kg/m^3

  • mass_as_density (bool): [Read-Write] Mass As Density, units are in kg/m^3

  • materials (Array(MaterialInterface)): [Read-Write] Materials

  • max_cluster_level (int32): [Read-Write] Maximum level for cluster breaks.

  • max_cluster_level_set_resolution (int32): [Read-Write] * Resolution on the smallest axes for the level set. (def: 10)

  • max_level_set_resolution (int32): [Read-Write] * Resolution on the smallest axes for the level set. (def: 10)

  • maximum_collision_particles (int32): [Read-Write] Max number of particles.

  • min_cluster_level_set_resolution (int32): [Read-Write] * Resolution on the smallest axes for the level set. (def: 5)

  • min_level_set_resolution (int32): [Read-Write] * Resolution on the smallest axes for the level set. (def: 5)

  • minimum_mass_clamp (float): [Read-Write] Smallest allowable mass (def:0.1)

  • remove_on_fracture_materials (Array(MaterialInterface)): [Read-Write] Materials relating to remove on fracture

  • size_specific_data (Array(GeometryCollectionSizeSpecificData)): [Read-Write] Size Specific Data

  • thumbnail_info (ThumbnailInfo): [Read-Only] Information for thumbnail rendering

property collision_object_reduction_percentage
Type

(float)

Type

[Read-Only] * Resolution on the smallest axes for the level set. (def

property collision_particles_fraction

[Read-Only] Number of particles on the triangulated surface to use for collisions.

Type

(float)

property collision_type

[Read-Only] * CollisionType defines how to initialize the rigid collision structures.

Type

(CollisionTypeEnum)

property enable_remove_pieces_on_fracture

[Read-Only] Enable remove pieces on fracture

Type

(bool)

property geometry_source

[Read-Write] Geometry Source

Type

(Array(GeometryCollectionSource))

property implicit_type

[Read-Only] * CollisionType defines how to initialize the rigid collision structures.

Type

(ImplicitTypeEnum)

property mass

[Read-Only] Total Mass of Collection. If density, units are in kg/m^3

Type

(float)

property mass_as_density

[Read-Only] Mass As Density, units are in kg/m^3

Type

(bool)

property max_cluster_level_set_resolution
Type

(int32)

Type

[Read-Only] * Resolution on the smallest axes for the level set. (def

property max_level_set_resolution
Type

(int32)

Type

[Read-Only] * Resolution on the smallest axes for the level set. (def

property maximum_collision_particles

[Read-Only] Max number of particles.

Type

(int32)

property min_cluster_level_set_resolution
Type

(int32)

Type

[Read-Only] * Resolution on the smallest axes for the level set. (def

property min_level_set_resolution
Type

(int32)

Type

[Read-Only] * Resolution on the smallest axes for the level set. (def

property minimum_mass_clamp

0.1)

Type

(float)

Type

[Read-Only] Smallest allowable mass (def