Inheritance
Object
ScriptableObject
OpenXRFeature
ViveCompositionLayerExtraSettings
Assembly: VIVE.OpenXR.dll
public class ViveCompositionLayerExtraSettings : OpenXRFeature
Fields
Settings Editor Enable Sharpening or Not.
Declaration
public bool SettingsEditorEnableSharpening
Field Value
Settings Editor Sharpening Levell
Declaration
[Range(0, 1)]
public float SettingsEditorSharpeningLevel
Field Value
Settings Editor Sharpening Mode
Declaration
public XrSharpeningModeHTC SettingsEditorSharpeningMode
Field Value
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.compositionlayer.extrasettings"
Field Value
Declaration
public const string kOpenxrExtensionStrings = "XR_HTC_composition_layer_extra_settings"
Field Value
Support Sharpening or Not.
Declaration
public bool supportSharpening
Field Value
Properties
The XR instance is created or not.
Declaration
public bool XrInstanceCreated { get; }
Property Value
The XR session is created or not.
Declaration
public bool XrSessionCreated { get; }
Property Value
The XR session is ending or not.
Declaration
public bool XrSessionEnding { get; }
Property Value
Methods
Disable the sharpening setting on the projection layer.
Declaration
public bool DisableSharpening()
Returns
Type |
Description |
bool |
True for success
|
Enable the sharpening setting applying to the projection layer.
Declaration
public bool EnableSharpening(XrSharpeningModeHTC sharpeningMode, float sharpeningLevel)
Parameters
Returns
Type |
Description |
bool |
True for success.
|
Declaration
protected override bool OnInstanceCreate(ulong xrInstance)
Parameters
Type |
Name |
Description |
ulong |
xrInstance |
|
Returns
Overrides
Declaration
protected override void OnInstanceDestroy(ulong xrInstance)
Parameters
Type |
Name |
Description |
ulong |
xrInstance |
|
Overrides
Declaration
protected override void OnSessionBegin(ulong xrSession)
Parameters
Type |
Name |
Description |
ulong |
xrSession |
|
Overrides
Declaration
protected override void OnSessionCreate(ulong xrSession)
Parameters
Type |
Name |
Description |
ulong |
xrSession |
|
Overrides
Declaration
protected override void OnSessionDestroy(ulong xrSession)
Parameters
Type |
Name |
Description |
ulong |
xrSession |
|
Overrides
Declaration
protected override void OnSessionEnd(ulong xrSession)
Parameters
Type |
Name |
Description |
ulong |
xrSession |
|
Overrides
Declaration
protected override void OnSystemChange(ulong xrSystem)
Parameters
Type |
Name |
Description |
ulong |
xrSystem |
|
Overrides