RuleOptionSetChance
A class in Root.Township, Alta.PAGaC.
A nested RuleOptionSet with a 0 to 1 chance of being evaluated.
- Listed in World generation
Constructors
| Member | What it is |
|---|---|
RuleOptionSetChance() | Creates a RuleOptionSetChance with default values. |
Fields
2 private and internal fields
| Member | What it is |
|---|---|
private RuleOptionSet ruleOptionSet | Backing field for RuleOptionSet. |
private float weight | Backing field for Weight. |
Properties
| Member | What it is |
|---|---|
RuleOptionSet RuleOptionSet { get; } | The option set that may be evaluated. |
float Weight { get; } | Chance from 0 to 1 that it is evaluated (default 1). |
Used in
Members of other types that take, return or hold a RuleOptionSetChance: