Class Condition<T1, T2, T3>
Base class for conditions that interact with three traits at once
Inherited Members
Namespace: Unity.MARS
Syntax
public abstract class Condition<T1, T2, T3> : ConditionBase, ISimulatable, ICondition<T1, T2, T3>, IConditionBase where T1 : struct where T2 : struct where T3 : struct
Type Parameters
| Name | Description |
|---|---|
| T1 | The type of the first trait |
| T2 | The type of the second trait |
| T3 | The type of the third trait |
Properties
TraitName1
Declaration
public string TraitName1 { get; }
Property Value
| Type | Description |
|---|---|
| String |
Implements
TraitName2
Declaration
public string TraitName2 { get; }
Property Value
| Type | Description |
|---|---|
| String |
Implements
TraitName3
Declaration
public string TraitName3 { get; }
Property Value
| Type | Description |
|---|---|
| String |
Implements
Methods
RateDataMatch(ref T1, ref T2, ref T3)
Declaration
public abstract float RateDataMatch(ref T1 trait1, ref T2 trait2, ref T3 trait3)
Parameters
| Type | Name | Description |
|---|---|---|
| T1 | trait1 | |
| T2 | trait2 | |
| T3 | trait3 |
Returns
| Type | Description |
|---|---|
| Single |