This site has been permanently archived. The content on this site was last updated in 2019.
Stay organized with collections
Save and categorize content based on your preferences.
Interface declaring the need for the controller input device.
Summary
Inheritance
Direct Known Subclasses:
GvrArmModel,
GvrBasePointer,
GvrControllerVisualProperties
All rights reserved. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-09 UTC.
[null,null,["Last updated 2024-10-09 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eIGvrControllerInputDeviceReceiver\u003c/code\u003e interface defines the requirement for receiving input from a VR controller.\u003c/p\u003e\n"],["\u003cp\u003eIt includes a \u003ccode\u003eControllerInputDevice\u003c/code\u003e property that provides access to the \u003ccode\u003eGvrControllerInputDevice\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003eClasses like \u003ccode\u003eGvrArmModel\u003c/code\u003e, \u003ccode\u003eGvrBasePointer\u003c/code\u003e, and \u003ccode\u003eGvrControllerVisual\u003c/code\u003e utilize this interface to interact with controller input.\u003c/p\u003e\n"]]],["The `IGvrControllerInputDeviceReceiver` interface requires a controller input device. It has a single property, `ControllerInputDevice`, which is a `GvrControllerInputDevice`. This property sets the reference to the specific `GvrControllerInputDevice` that the instance will monitor. The interface is inherited by `GvrArmModel`, `GvrBasePointer`, and `GvrControllerVisual`. These subclasses use the defined property to interact with and utilize the assigned controller's input.\n"],null,["# IGvrControllerInputDeviceReceiver Interface Reference\n\nIGvrControllerInputDeviceReceiver\n=================================\n\nInterface declaring the need for the controller input device.\n\nSummary\n-------\n\n### Inheritance\n\nDirect Known Subclasses:[GvrArmModel](/vr/reference/unity/class/GvrArmModel), [GvrBasePointer](/vr/reference/unity/class/GvrBasePointer), [GvrControllerVisual](/vr/reference/unity/class/GvrControllerVisual)\n\n| ### Properties ||\n|---------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [ControllerInputDevice](#interfaceIGvrControllerInputDeviceReceiver_1afa295207406ad70cd70f3d292685ded8) | [GvrControllerInputDevice](/vr/reference/unity/class/GvrControllerInputDevice#classGvrControllerInputDevice) Sets the reference to the controller input device. |\n\nProperties\n----------\n\n### ControllerInputDevice\n\n```c#\nGvrControllerInputDevice ControllerInputDevice\n``` \nSets the reference to the controller input device.\n\nThe [GvrControllerInputDevice](/vr/reference/unity/class/GvrControllerInputDevice#classGvrControllerInputDevice) this instance listens to."]]