Class SubClutter
Define Clutter items that also spawn when a this is built during procedural generation (i.e. a table and chairs, etc)
See pcg_tableandchairs, pcg_bedandshelf
Inheritance
System.Object
SubClutter
Namespace: Mannequin.Bindings
Assembly: Collapse.dll
Syntax
public class SubClutter : object
Constructors
SubClutter(ClutterData, ESubClutterPositioning, Int32, Int32)
Create SubClutter.
Declaration
public SubClutter(ClutterData item, ESubClutterPositioning positioning, int min, int max)
Parameters
Type | Name | Description |
---|---|---|
ClutterData | item | The item to create |
ESubClutterPositioning | positioning | The positioning of the spawned item |
System.Int32 | min | The minimum number of the spawned item to spawn |
System.Int32 | max | The maximum number of the spawned item to spawn |
Properties
DataFile
The ClutterData that this new Clutter will be derived from.
Declaration
public ClutterData DataFile { get; set; }
Property Value
Type | Description |
---|---|
ClutterData |
MaxCount
The maximum number of the spawned item to spawn
Declaration
public int MaxCount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
MinCount
The minimum number of the spawned item to spawn
Declaration
public int MinCount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Position
The positioning of the spawned item
Declaration
public ESubClutterPositioning Position { get; set; }
Property Value
Type | Description |
---|---|
ESubClutterPositioning |