Class TestMultiRelation.SimilarBoundsSizeRelation
Inheritance
TestMultiRelation.SimilarBoundsSizeRelation
Syntax
[Serializable]
public class SimilarBoundsSizeRelation : SubRelation, IRelation<Vector2>, IRelation, IRelationBase, IConditionBase, IRequiresTraits<Vector2>, IRequiresTraits
Fields
MaxRatio
Declaration
Field Value
MinRatio
Declaration
Field Value
Properties
child1TraitName
Declaration
public string child1TraitName { get; }
Property Value
Implements
child2TraitName
Declaration
public string child2TraitName { get; }
Property Value
Implements
Methods
GetRequiredTraits()
Declaration
public TraitRequirement[] GetRequiredTraits()
Returns
Implements
RateDataMatch(ref Vector2, ref Vector2)
Declaration
public float RateDataMatch(ref Vector2 child1Data, ref Vector2 child2Data)
Parameters
Type |
Name |
Description |
Vector2 |
child1Data |
|
Vector2 |
child2Data |
|
Returns
Implements
Extension Methods