コンテンツにスキップ

DashboardOverlayIdentity クラス

Owns the main and thumbnail handles of a SteamVR dashboard overlay.

名前空間: FloatSoda.OVR.Overlay
アセンブリ: FloatSoda.OVR.dll

public class DashboardOverlayIdentity : IOverlayIdentity, IDisposable

object ← DashboardOverlayIdentity

IOverlayIdentity, IDisposable

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Creates a dashboard overlay and its thumbnail.

public DashboardOverlayIdentity(string key, string name)

key string

The stable key used to identify the overlay in SteamVR.

name string

The user-facing dashboard name.

Gets the native OpenVR overlay handle.

public ulong Handle { get; }

ulong

Gets the stable key used to identify the overlay in SteamVR.

public string Key { get; init; }

string

Gets the user-facing overlay name.

public string Name { get; init; }

string

Gets the native handle for the dashboard thumbnail.

public ulong ThumbnailHandle { get; }

ulong

Destroys the dashboard overlay if it has not already been destroyed.

public void Dispose()