Struct XrPassthroughColorHTC
The application can specify the XrPassthroughColorHTC to adjust the alpha value of the passthrough. The range is between 0.0f and 1.0f, 1.0f means opaque.
Inherited Members
Namespace: VIVE.OpenXR.CompositionLayer
Assembly: VIVE.OpenXR.dll
Syntax
public struct XrPassthroughColorHTC
Constructors
XrPassthroughColorHTC(XrStructureType, IntPtr, float)
Declaration
public XrPassthroughColorHTC(XrStructureType in_type, IntPtr in_next, float in_alpha)
Parameters
Type | Name | Description |
---|---|---|
XrStructureType | in_type | |
IntPtr | in_next | |
float | in_alpha |
Fields
alpha
The alpha value of the passthrough in the range [0, 1].
Declaration
public float alpha
Field Value
Type | Description |
---|---|
float |
next
Next is NULL or a pointer to the next structure in a structure chain, such as XrPassthroughMeshTransformInfoHTC.
Declaration
public IntPtr next
Field Value
Type | Description |
---|---|
IntPtr |
type
The XrStructureType of this structure.
Declaration
public XrStructureType type
Field Value
Type | Description |
---|---|
XrStructureType |