Class VIVECosmosProfile
This UnityEngine.XR.OpenXR.Features.OpenXRInteractionFeature enables the use of HTC Vive Cosmos interaction profiles in OpenXR.
Inherited Members
Namespace: VIVE.OpenXR
Assembly: VIVE.OpenXR.dll
Syntax
public class VIVECosmosProfile : OpenXRInteractionFeature
Fields
a
Constant for a
Declaration
public const string a = "/input/a/click"
Field Value
Type | Description |
---|---|
string |
aim
Constant for a
Declaration
public const string aim = "/input/aim/pose"
Field Value
Type | Description |
---|---|
string |
b
Constant for a
Declaration
public const string b = "/input/b/click"
Field Value
Type | Description |
---|---|
string |
featureId
The feature id string. This is used to give the feature a well known id for reference.
Declaration
public const string featureId = "vive.openxr.feature.cosmoscontroller"
Field Value
Type | Description |
---|---|
string |
grip
Constant for a
Declaration
public const string grip = "/input/grip/pose"
Field Value
Type | Description |
---|---|
string |
haptic
Constant for a
Declaration
public const string haptic = "/output/haptic"
Field Value
Type | Description |
---|---|
string |
menu
Constant for a
Declaration
public const string menu = "/input/menu/click"
Field Value
Type | Description |
---|---|
string |
profile
The interaction profile string used to reference the
Declaration
public const string profile = "/interaction_profiles/htc/vive_cosmos_controller"
Field Value
Type | Description |
---|---|
string |
select
Constant for a
Declaration
public const string select = "/input/trigger/click"
Field Value
Type | Description |
---|---|
string |
shoulder
Constant for a
Declaration
public const string shoulder = "/input/shoulder/click"
Field Value
Type | Description |
---|---|
string |
squeeze
Constant for a
Declaration
public const string squeeze = "/input/squeeze/click"
Field Value
Type | Description |
---|---|
string |
thumbstick
Constant for a
Declaration
public const string thumbstick = "/input/thumbstick"
Field Value
Type | Description |
---|---|
string |
thumbstickClick
Constant for a
Declaration
public const string thumbstickClick = "/input/thumbstick/click"
Field Value
Type | Description |
---|---|
string |
thumbstickTouch
Constant for a
Declaration
public const string thumbstickTouch = "/input/thumbstick/touch"
Field Value
Type | Description |
---|---|
string |
trigger
Constant for a
Declaration
public const string trigger = "/input/trigger/value"
Field Value
Type | Description |
---|---|
string |
triggerClick
Constant for a
Declaration
public const string triggerClick = "/input/trigger/click"
Field Value
Type | Description |
---|---|
string |
x
Constant for a
Declaration
public const string x = "/input/x/click"
Field Value
Type | Description |
---|---|
string |
y
Constant for a
Declaration
public const string y = "/input/y/click"
Field Value
Type | Description |
---|---|
string |
Methods
RegisterActionMapsWithRuntime()
Registers an
Declaration
protected override void RegisterActionMapsWithRuntime()
Overrides
RegisterDeviceLayout()
Registers the VIVECosmosProfile.ViveCosmosController layout with the Input System. Matches the
Declaration
protected override void RegisterDeviceLayout()
Overrides
UnregisterDeviceLayout()
Removes the VIVECosmosProfile.ViveCosmosController layout from the Input System. Matches the
Declaration
protected override void UnregisterDeviceLayout()