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.
A lightweight tooltip designed to minimize draw calls.
Summary
Inheritance
Inherits from: MonoBehaviour,
IGvrArmModelReceiver
Properties
|
ArmModel
|
Gets or sets the arm model used to position the controller.
|
Protected functions
|
OnVisualUpdate()
|
void
Updates the tooltip visualation based on the arm model.
|
Properties
Protected functions
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\u003eGvrControllerTooltipsSimple is a lightweight tooltip designed to minimize draw calls.\u003c/p\u003e\n"],["\u003cp\u003eIt utilizes an arm model to position the controller and update tooltip visualization.\u003c/p\u003e\n"],["\u003cp\u003eThe tooltip's functionality is based on inheritance from MonoBehaviour and IGvrArmModelReceiver.\u003c/p\u003e\n"]]],["GvrControllerTooltipsSimple is a lightweight tooltip that inherits from MonoBehaviour and IGvrArmModelReceiver. It utilizes the `ArmModel` property (a GvrBaseArmModel) to determine controller positioning. The core action involves the `OnVisualUpdate()` function, which updates the tooltip's visualization based on the provided arm model. This design aims to optimize performance by minimizing draw calls during tooltip rendering and relies on arm model data for controller placement.\n"],null,["# GvrControllerTooltipsSimple Class Reference\n\nGvrControllerTooltipsSimple\n===========================\n\nA lightweight tooltip designed to minimize draw calls.\n\nSummary\n-------\n\n### Inheritance\n\nInherits from: MonoBehaviour, [IGvrArmModelReceiver](/vr/reference/unity/interface/IGvrArmModelReceiver)\n\n| ### Properties ||\n|----------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------|\n| [ArmModel](#classGvrControllerTooltipsSimple_1acddcece99cbc00559f3a9842eb803f9f) | [GvrBaseArmModel](/vr/reference/unity/class/GvrBaseArmModel#classGvrBaseArmModel) Gets or sets the arm model used to position the controller. |\n\n| ### Protected functions ||\n|--------------------------------------------------------------------------------------------|----------------------------------------------------------------|\n| [OnVisualUpdate](#classGvrControllerTooltipsSimple_1a078304a4feeb02194dd1f3a890e8b677)`()` | `void` Updates the tooltip visualation based on the arm model. |\n\nProperties\n----------\n\n### ArmModel\n\n```c#\nGvrBaseArmModel ArmModel\n``` \nGets or sets the arm model used to position the controller.\n\nThe arm model used to position the controller.\n\nProtected functions\n-------------------\n\n### OnVisualUpdate\n\n```c#\nvoid OnVisualUpdate()\n``` \nUpdates the tooltip visualation based on the arm model."]]