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.
GoogleVR.Beta.GvrBetaHeadset
Daydream headset beta API.
Summary
Inheritance
Inherits from:
GvrHeadset
Properties
|
CameraMode
|
Gets or sets the current see-through camera mode.
|
SceneType
|
Gets or sets the current see-through scene type.
|
Properties
CameraMode
static GvrBetaSeeThroughCameraMode CameraMode
Gets or sets the current see-through camera mode.
The see-through camera mode.
SceneType
static GvrBetaSeeThroughSceneType SceneType
Gets or sets the current see-through scene type.
The see-through scene type.
Public static functions
SetSeeThroughConfig
void SetSeeThroughConfig(
GvrBetaSeeThroughCameraMode cameraMode,
GvrBetaSeeThroughSceneType sceneType
)
Sets the current see-through camera mode and scene type.
Details |
Parameters |
cameraMode
|
The see-through camera mode to be set.
|
sceneType
|
The see-through scene type to be set.
|
|
All rights reserved. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-09 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-09 UTC."],[[["\u003cp\u003e\u003ccode\u003eGoogleVR.Beta.GvrBetaHeadset\u003c/code\u003e provides a beta API specifically designed for Daydream headsets, inheriting functionalities from the \u003ccode\u003eGvrHeadset\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThis API allows developers to control see-through settings, offering options to adjust camera mode (e.g., fisheye or perspective) and scene type (e.g., virtual or passthrough).\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSetSeeThroughConfig\u003c/code\u003e function enables developers to easily configure both the camera mode and scene type simultaneously, enhancing the user's immersive experience.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can access and modify the current see-through camera mode and scene type through the static properties \u003ccode\u003eCameraMode\u003c/code\u003e and \u003ccode\u003eSceneType\u003c/code\u003e, respectively.\u003c/p\u003e\n"]]],["The Daydream headset beta API, `GvrBetaHeadset`, allows managing see-through features. Key actions involve getting or setting the `CameraMode` and `SceneType` properties, representing the see-through camera and scene type, respectively. The `SetSeeThroughConfig` function is used to directly set both the `cameraMode` and `sceneType` parameters. These functions provide control over how the headset interacts with the real-world view.\n"],null,["# GoogleVR.Beta.GvrBetaHeadset Class Reference\n\nGoogleVR.Beta.GvrBetaHeadset\n============================\n\nDaydream headset beta API.\n\nSummary\n-------\n\n### Inheritance\n\nInherits from: [GvrHeadset](/vr/reference/unity/class/GvrHeadset)\n\n| ### Properties ||\n|-------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [CameraMode](#classGoogleVR_1_1Beta_1_1GvrBetaHeadset_1a18829c76e352ca4dc71fe8f2c40d1da1) | `static `[GvrBetaSeeThroughCameraMode](/vr/reference/unity/namespace/GoogleVR/Beta#namespaceGoogleVR_1_1Beta_1a95adce69d355fa46475bf3db1053512b) Gets or sets the current see-through camera mode. |\n| [SceneType](#classGoogleVR_1_1Beta_1_1GvrBetaHeadset_1a8ff3b57da8161a2bb7f9ae7a4b7193d3) | `static `[GvrBetaSeeThroughSceneType](/vr/reference/unity/namespace/GoogleVR/Beta#namespaceGoogleVR_1_1Beta_1a847db53811bdc0c7d9a480691cd29fb2) Gets or sets the current see-through scene type. |\n\n| ### Public static functions ||\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------|\n| [SetSeeThroughConfig](#classGoogleVR_1_1Beta_1_1GvrBetaHeadset_1ac00a8e18be84c9e8f522ce57e9f13521)`(`[GvrBetaSeeThroughCameraMode](/vr/reference/unity/namespace/GoogleVR/Beta#namespaceGoogleVR_1_1Beta_1a95adce69d355fa46475bf3db1053512b)` cameraMode, `[GvrBetaSeeThroughSceneType](/vr/reference/unity/namespace/GoogleVR/Beta#namespaceGoogleVR_1_1Beta_1a847db53811bdc0c7d9a480691cd29fb2)` sceneType)` | `void` Sets the current see-through camera mode and scene type. |\n\nProperties\n----------\n\n### CameraMode\n\n```c#\nstatic GvrBetaSeeThroughCameraMode CameraMode\n``` \nGets or sets the current see-through camera mode.\n\nThe see-through camera mode. \n\n### SceneType\n\n```c#\nstatic GvrBetaSeeThroughSceneType SceneType\n``` \nGets or sets the current see-through scene type.\n\nThe see-through scene type.\n\nPublic static functions\n-----------------------\n\n### SetSeeThroughConfig\n\n```c#\nvoid SetSeeThroughConfig(\n GvrBetaSeeThroughCameraMode cameraMode,\n GvrBetaSeeThroughSceneType sceneType\n)\n``` \nSets the current see-through camera mode and scene type.\n\n\u003cbr /\u003e\n\n| Details ||\n|------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Parameters | |--------------|----------------------------------------| | `cameraMode` | The see-through camera mode to be set. | | `sceneType` | The see-through scene type to be set. | |"]]