public float GetRawValue() { if (is_positive) { return(axis.GetRawValue().BindBetween(0.0f, 1.0f)); } return(-axis.GetRawValue().BindBetween(-1.0f, 0.0f)); }
public int GetRawValue() { if (axis.GetRawValue() >= threshold) { return(1); } if (axis.GetRawValue() <= -threshold) { return(-1); } return(0); }
public VectorF2 GetRawValue() { return(new VectorF2( horizontal_axis.GetRawValue(), vertical_axis.GetRawValue() )); }
public bool GetRawValue() { if (is_positive) { if (axis.GetRawValue() >= threshold) { return(true); } } else { if (axis.GetRawValue() <= -threshold) { return(true); } } return(false); }
protected override void UpdateInternal() { value = axis.GetRawValue(); }