Class ElevationRelation
Inheritance
ElevationRelation
Syntax
public class ElevationRelation : BoundedFloatRelation<Pose>, ISimulatable, IRelation<Pose>, IRelation, IRelationBase, IConditionBase, IRequiresTraits<Pose>, IRequiresTraits, ICreateFromDataPair, IConfigurableMatchRating, IRangeBoundingOptions<float>, IRangeBoundingOptions, ISpatialCondition, IUsesCameraOffset, IFunctionalitySubscriber<IProvidesCameraOffset>, IAdjustableComponent
Properties
Adjusting
Declaration
public bool Adjusting { get; set; }
Property Value
Implements
provider
Declaration
public IProvidesCameraOffset provider { get; set; }
Property Value
Methods
Declaration
public override string FormatDataString(TraitDataSnapshot child1Data, TraitDataSnapshot child2Data)
Parameters
Returns
Overrides
Unity.MARS.Relation<Pose>.FormatDataString(Unity.MARS.Data.TraitDataSnapshot, Unity.MARS.Data.TraitDataSnapshot)
GetRequiredTraits()
Get the TraitRequirements that are required by this object
Declaration
public override TraitRequirement[] GetRequiredTraits()
Returns
Overrides
OnEnable()
Declaration
OnRatingConfigChange()
Declaration
public override void OnRatingConfigChange()
Overrides
Unity.MARS.Conditions.NonBinaryRelation<System.Single, Pose>.OnRatingConfigChange()
OptimizeForData(TraitDataSnapshot, TraitDataSnapshot)
Declaration
public override void OptimizeForData(TraitDataSnapshot child1Data, TraitDataSnapshot child2Data)
Parameters
Overrides
Unity.MARS.Relation<Pose>.OptimizeForData(Unity.MARS.Data.TraitDataSnapshot, Unity.MARS.Data.TraitDataSnapshot)
RateDataMatch(ref Pose, ref Pose)
Declaration
public override float RateDataMatch(ref Pose child1Data, ref Pose child2Data)
Parameters
Type |
Name |
Description |
Pose |
child1Data |
|
Pose |
child2Data |
|
Returns
Overrides
Unity.MARS.Relation<Pose>.RateDataMatch(Pose, Pose)
Events
AdjustingChanged
Declaration
public event Action<bool> AdjustingChanged
Event Type
Implements
Extension Methods