Class MultiInputSlider
Inheritance
MultiInputSlider
Implements
ISubmitHandler
IUpdateSelectedHandler
IBeginDragHandler
IDragHandler
IEndDragHandler
IPointerClickHandler
ICanvasElement
Assembly: NeoFPS.dll
public class MultiInputSlider : MultiInputFocusableWidget, ISubmitHandler, IUpdateSelectedHandler, IBeginDragHandler, IDragHandler, IEndDragHandler, IPointerClickHandler, ICanvasElement
Properties
cachedInputTextGenerator
Declaration
protected TextGenerator cachedInputTextGenerator { get; }
Property Value
| Type |
Description |
| TextGenerator |
|
Declaration
public float caretBlinkRate { get; set; }
Property Value
| Type |
Description |
| System.Single |
|
Get: Returns the focus position as thats the position that moves around even during selection.
Set: Set both the anchor and focus position such that a selection doesn't happen
Declaration
public int caretPosition { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
Current position of the cursor.
Getters are public Setters are protected
Declaration
protected int caretPositionInternal { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
Declaration
protected int caretSelectPositionInternal { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
Declaration
protected Mesh mesh { get; }
Property Value
Declaration
public float normalisedValue { get; set; }
Property Value
| Type |
Description |
| System.Single |
|
Declaration
public MultiInputSlider.ValueChangeEvent onValueChanged { get; }
Property Value
Declaration
public bool readoutFocused { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
readoutText
Declaration
public string readoutText { get; set; }
Property Value
| Type |
Description |
| System.String |
|
Get: Returns the fixed position of selection
Set: If Input.compositionString is 0 set the fixed position
Declaration
public int selectionAnchorPosition { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
Get: Returns the variable position of selection
Set: If Input.compositionString is 0 set the variable position
Declaration
public int selectionFocusPosition { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
Declaration
public int value { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
Methods
Declaration
public void ActivateInputField()
Declaration
protected virtual void Append(char input)
Parameters
| Type |
Name |
Description |
| System.Char |
input |
|
Append the specified text to the end of the current.
Declaration
protected virtual void Append(string input)
Parameters
| Type |
Name |
Description |
| System.String |
input |
|
Declaration
protected override void Awake()
Declaration
protected void ClampPos(ref int pos)
Parameters
| Type |
Name |
Description |
| System.Int32 |
pos |
|
Declaration
public void DeactivateInputField()
Declaration
Declaration
protected override void DoStateTransition(SelectionState state, bool instant)
Parameters
| Type |
Name |
Description |
| SelectionState |
state |
|
| System.Boolean |
instant |
|
Declaration
public override void FocusLeft()
Overrides
Declaration
public override void FocusRight()
Overrides
Declaration
protected int GetCharacterIndexFromPosition(Vector2 pos)
Parameters
| Type |
Name |
Description |
| Vector2 |
pos |
|
Returns
| Type |
Description |
| System.Int32 |
|
Declaration
public virtual void GraphicUpdateComplete()
Declaration
Declaration
protected MultiInputSlider.EditState KeyPressed(Event evt)
Parameters
| Type |
Name |
Description |
| Event |
evt |
|
Returns
Declaration
public virtual void LayoutComplete()
MoveTextEnd(Boolean)
Declaration
public void MoveTextEnd(bool shift)
Parameters
| Type |
Name |
Description |
| System.Boolean |
shift |
|
MoveTextStart(Boolean)
Declaration
public void MoveTextStart(bool shift)
Parameters
| Type |
Name |
Description |
| System.Boolean |
shift |
|
Declaration
public void OnBeginDrag(PointerEventData eventData)
Parameters
| Type |
Name |
Description |
| PointerEventData |
eventData |
|
Declaration
public override void OnDeselect(BaseEventData eventData)
Parameters
| Type |
Name |
Description |
| BaseEventData |
eventData |
|
Overrides
Declaration
protected override void OnDisable()
Overrides
Declaration
public void OnDrag(PointerEventData eventData)
Parameters
| Type |
Name |
Description |
| PointerEventData |
eventData |
|
Declaration
protected override void OnEnable()
Overrides
Declaration
public void OnEndDrag(PointerEventData eventData)
Parameters
| Type |
Name |
Description |
| PointerEventData |
eventData |
|
Declaration
protected void OnFocusReadout()
Declaration
public void OnPointerClick(PointerEventData eventData)
Parameters
| Type |
Name |
Description |
| PointerEventData |
eventData |
|
Declaration
public override void OnPointerDown(PointerEventData eventData)
Parameters
| Type |
Name |
Description |
| PointerEventData |
eventData |
|
Declaration
public override void OnSubmit(BaseEventData eventData)
Parameters
| Type |
Name |
Description |
| BaseEventData |
eventData |
|
Overrides
Declaration
public virtual void OnUpdateSelected(BaseEventData eventData)
Parameters
| Type |
Name |
Description |
| BaseEventData |
eventData |
|
Declaration
protected override void OnValidate()
Overrides
Declaration
public void ProcessEvent(Event e)
Parameters
| Type |
Name |
Description |
| Event |
e |
|
Declaration
public virtual void Rebuild(CanvasUpdate update)
Parameters
| Type |
Name |
Description |
| CanvasUpdate |
update |
|
Declaration
public Vector2 ScreenToLocal(Vector2 screen)
Parameters
| Type |
Name |
Description |
| Vector2 |
screen |
|
Returns
Declaration
protected void SelectAll()
Declaration
protected void SendOnSubmit()
Declaration
public void SetLimits(int min, int max)
Parameters
| Type |
Name |
Description |
| System.Int32 |
min |
|
| System.Int32 |
max |
|
Update the visual text Text.
Declaration
protected void UpdateLabel()
Implements
ISubmitHandler
IUpdateSelectedHandler
IBeginDragHandler
IDragHandler
IEndDragHandler
IPointerClickHandler
ICanvasElement