Table of Contents

Method GetActiveController

Namespace
YVR.Core
Assembly
YVR.Core.Runtime.dll

GetActiveController()

Get the active controller in current frame.

public static ControllerType GetActiveController()

Returns

ControllerType

The ControllerType of active controller

Remarks

If any button of one controller is pressed or touched during the frame, then this controller will be marked as active.

If either left or right controller are marked as active during the frame, and both controllers are connect, then the Controller will be marked as active