====== 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'' ---- ==== OffsetSize ==== //[[: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:procedural_float|PROCEDURAL_FLOAT]]'' * **Expected**: ''PROCEDURAL_FLOAT value'' ---- ==== Orientation ==== //[[:annotations#serialized|Serialized]]// The orientation of the spawned prefab will be between Min and Max. * **Type**: ''[[:api:procedural_orientation|PROCEDURAL_ORIENTATION]]'' * **Expected**: ''PROCEDURAL_ORIENTATION value'' ---- ==== Scale ==== //[[:annotations#serialized|Serialized]]// The scale of the spawned prefab will be between Min and Max. * **Type**: ''[[:api:procedural_float|PROCEDURAL_FLOAT]]'' * **Expected**: ''PROCEDURAL_FLOAT value'' ---- ==== Color ==== //[[:annotations#serialized|Serialized]]// The color of the spawned prefab will be between Min and Max. * **Type**: ''[[:api:procedural_color|PROCEDURAL_COLOR]]'' * **Expected**: ''PROCEDURAL_COLOR value''