Class HasPoseCondition
Represents a situation that depends on the existence of a pose
Inherited Members
Namespace: Unity.MARS.Conditions
Syntax
public class HasPoseCondition : Condition<Pose>, ISimulatable, ICondition<Pose>, ICondition, IConditionBase, IRequiresTraits<Pose>, IRequiresTraits
Methods
GetRequiredTraits()
Get the TraitRequirements that are required by this object
Declaration
public override TraitRequirement[] GetRequiredTraits()
Returns
Type | Description |
---|---|
TraitRequirement[] | The required traits |
Overrides
RateDataMatch(ref Pose)
Describe how well a given piece of data matches a condition. 0 means the match is unacceptable, 1 means a perfect match
Declaration
public override float RateDataMatch(ref Pose data)
Parameters
Type | Name | Description |
---|---|---|
Pose | data |
Returns
Type | Description |
---|---|
Single | A number from 0 to 1 indicating how well a piece of data watches this condition |
Overrides
Unity.MARS.Condition<Pose>.RateDataMatch(Pose)