コンテンツにスキップ

OVRApplications クラス

Stateless utility operations that target SteamVR’s application registry as a whole, rather than the calling process’s own OVRApplication identity. Requires Init to have already been called (via OVRApplication).

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

public static class OVRApplications

object ← OVRApplications

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

Adds an application manifest to SteamVR.

public static void AddManifest(string path, bool temporal = false)

path string

The absolute path to the manifest file.

temporal bool

Whether the registration lasts only for the current SteamVR session.

Launches the application registered with the given appKey.

public static void Launch(string appKey)

appKey string

The registered SteamVR application key.

Checks whether SteamVR can launch the registered application.

public static void PerformPreLaunchCheck(string appKey)

appKey string

The registered SteamVR application key.

Removes an application manifest from SteamVR.

public static void RemoveApplicationManifest(string path)

path string

The absolute path to the manifest file.