Table of Contents

Interface InputProvider

Namespace
Flexalon
Assembly
Flexalon.dll

Implement this interface and assign it to the Flexalon.InputProvider to override how FlexalonInteractables receive input.

public interface InputProvider

Properties

Active

True if the input is active, e.g. button is being held down.

bool Active { get; }

Property Value

bool

ExternalFocusedObject

In External Mode, the object that is currently being hovered or selected.

GameObject ExternalFocusedObject { get; }

Property Value

GameObject

InputMode

InputMode InputMode { get; }

Property Value

InputMode

Ray

In Raycast Mode, the ray to cast to determine what should be moved / hit.

Ray Ray { get; }

Property Value

Ray

UIPointer

In Raycast Mode, the screen-space position used to pick UI objects.

Vector3 UIPointer { get; }

Property Value

Vector3