====== MAP_DENSITY_PREFAB_CONFIG ====== **Category**: Data //[[:annotations#cloneable|Cloneable]]// ===== Properties ===== ---- ==== PrefabList ==== //[[:annotations#serialized|Serialized]]// List of prefabs that will be spawned with these settings. * **Type**: ''[[:data-types#list|list]]<[[:api:prefab|PREFAB]]>'' * **Expected**: ''list of asset IDs'' ---- ==== RandomWeight ==== //[[:annotations#serialized|Serialized]]// The random weight of these settings. Any number over zero is accepted, what is important is the difference between all weights. Any Setting with a random weight lower or equal to zero will be ignored. * **Type**: ''[[:data-types#float|float]]'' * **Expected**: ''float value'' * **Default value**: ''1.f'' ---- ==== OffsetSizeRange ==== //[[:annotations#serialized|Serialized]]// Each prefab is spawned in a grid then slightly and randomly moved. This value changes how strong that offset can be. * **Type**: ''[[:api:random_float_range|RANDOM_FLOAT_RANGE]]'' * **Expected**: ''RANDOM_FLOAT_RANGE value'' ---- ==== OrientationRange ==== //[[:annotations#serialized|Serialized]]// The orientation of the spawned prefab will be between Min and Max. * **Type**: ''[[:api:random_orientation_range|RANDOM_ORIENTATION_RANGE]]'' * **Expected**: ''RANDOM_ORIENTATION_RANGE value'' ---- ==== ScaleRange ==== //[[:annotations#serialized|Serialized]]// The scale of the spawned prefab will be between Min and Max. * **Type**: ''[[:api:random_float_range|RANDOM_FLOAT_RANGE]]'' * **Expected**: ''RANDOM_FLOAT_RANGE value'' ---- ==== ColorRange ==== //[[:annotations#serialized|Serialized]]// The color of the spawned prefab will be between Min and Max. * **Type**: ''[[:api:random_color_range|RANDOM_COLOR_RANGE]]'' * **Expected**: ''RANDOM_COLOR_RANGE value''