unreal.ClassWeightPair
¶
- class unreal.ClassWeightPair¶
Bases:
StructBase
Class Weight Pair
C++ Source:
Plugin: Mutable
Module: CustomizableObjectPopulation
File: CustomizableObjectPopulation.h
Editor Properties: (see get_editor_property/set_editor_property)
class_
(CustomizableObjectPopulationClass): [Read-Write] Population Class that will randomply appear on Customizable Object Instances generated by this Populationclass_weight
(int32): [Read-Write] How often will this class appear compared to other classes. Example: One class has weight 3, the other weight 1. The final chances are 75% of the first and 25% of the last.