Class UnityNumberSensor
Inheritance
UnityNumberSensor
Assembly: Xareus.Unity.Librairies.dll
Syntax
public class UnityNumberSensor : AInUnityStepSensor
Constructors
UnityNumberSensor(Event, Dictionary<string, Parameter>, IContext, IContext, IContext)
Declaration
protected UnityNumberSensor(Event @event, Dictionary<string, Parameter> parameters, IContext externalContext, IContext scenarioContext, IContext sequenceContext)
Parameters
Fields
COMPONENT
Declaration
public const string COMPONENT = "Component"
Field Value
COMPONENT_ENTRY
Declaration
[EventContextEntry]
public static readonly string COMPONENT_ENTRY
Field Value
COMPONENT_TYPE
Declaration
public const string COMPONENT_TYPE = "Component Type"
Field Value
MEMBER
Declaration
public const string MEMBER = "Member"
Field Value
OPERAND2
Declaration
public const string OPERAND2 = "operand2"
Field Value
OPERATOR
Declaration
public const string OPERATOR = "operator"
Field Value
PRECISION
Declaration
public const string PRECISION = "precision"
Field Value
VALUE_ENTRY
Declaration
[EventContextEntry]
public static readonly string VALUE_ENTRY
Field Value
component
Declaration
[Provider("Component Type")]
[ConfigurationParameter("Component", Necessity.Required)]
protected Component component
Field Value
componentType
Declaration
[ProvideConstraint(typeof(Component))]
[ConfigurationParameter("Component Type", Necessity.Required)]
protected Type componentType
Field Value
member
Declaration
[Provider("Component")]
[ConfigurationParameter("Member", Necessity.Required)]
protected MemberInfo member
Field Value
operand2
Declaration
[ConfigurationParameter("operand2", Necessity.Required)]
protected float operand2
Field Value
operator
Declaration
[ConfigurationParameter("operator", Necessity.Required, InitialValue = NumberSensor.ComparisonOperator.LESS_THAN)]
protected NumberSensor.ComparisonOperator @operator
Field Value
precision
Declaration
[ConfigurationParameter("precision", "The precision to use for the comparisons (default 0.0000001)", Necessity.Optional, InitialValue = 1E-07)]
protected float precision
Field Value
Methods
UnityStepSensorCheck()
This method is called at each selected Unity execution step in Unity's thread. The Unity execution steps used depend on the ExecutionStep property
Declaration
public override ASensor.Result UnityStepSensorCheck()
Returns
Overrides