Class CompositionLayerUICanvas
Inheritance
Object
Component
Behaviour
MonoBehaviour
CompositionLayerUICanvas
Assembly: VIVE.OpenXR.dll
Syntax
[RequireComponent(typeof(Canvas))]
public class CompositionLayerUICanvas : MonoBehaviour
Fields
backgroundGO
Declaration
[SerializeField]
public List<GameObject> backgroundGO
Field Value
Type |
Description |
List<GameObject> |
|
cameraBGColor
Declaration
[SerializeField]
public Color cameraBGColor
Field Value
compositionDepth
Declaration
[SerializeField]
public uint compositionDepth
Field Value
enableAlphaBlendingCorrection
Declaration
[SerializeField]
public bool enableAlphaBlendingCorrection
Field Value
layerType
Declaration
[SerializeField]
public CompositionLayer.LayerType layerType
Field Value
layerVisibility
Declaration
[SerializeField]
public CompositionLayer.Visibility layerVisibility
Field Value
maxRenderTextureSize
Declaration
[SerializeField]
public uint maxRenderTextureSize
Field Value
trackingOrigin
Declaration
[SerializeField]
public GameObject trackingOrigin
Field Value
Type |
Description |
GameObject |
|
Methods
GetRenderPriority()
Declaration
public uint GetRenderPriority()
Returns
ReplaceUIMaterials()
Declaration
public void ReplaceUIMaterials()
SetRenderPriority(uint)
Declaration
public void SetRenderPriority(uint newRenderPriority)
Parameters
Type |
Name |
Description |
uint |
newRenderPriority |
|
SetUIShaderBlendMode(Material, UIShaderBlendMode)
Declaration
public void SetUIShaderBlendMode(Material canvasUIMaterial, CompositionLayerUICanvas.UIShaderBlendMode blendMode = UIShaderBlendMode.Others)
Parameters
UpdateUIElementBlendMode()
Declaration
public void UpdateUIElementBlendMode()