We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7f63d38 + c71065f commit 0347352Copy full SHA for 0347352
1 file changed
OVRSharp/Overlay.cs
@@ -186,6 +186,27 @@ public float Curvature
186
}
187
188
189
+ /// <summary>
190
+ /// Sets/gets the alpha of the overlay quad. Use 1.0 for 100 percent opacity to 0.0 for 0
191
+ /// percent opacity.
192
+ /// <br/>
193
+ /// By default, overlays are rendering at 100 percent alpha (1.0).
194
+ /// </summary>
195
+ public float Alpha
196
+ {
197
+ set
198
199
+ AssertNoError(OpenVR.Overlay.SetOverlayAlpha(overlayHandle, value));
200
+ }
201
+
202
+ get
203
204
+ float alpha = 0.0f;
205
+ AssertNoError(OpenVR.Overlay.GetOverlayAlpha(overlayHandle, ref alpha));
206
+ return alpha;
207
208
209
210
private HmdMatrix34_t transform;
211
public HmdMatrix34_t Transform {
212
set
0 commit comments