コンテンツにスキップ

VRInputException クラス

Thrown when an OpenVR input (action system) operation (EVRInputError) fails.

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

public class VRInputException : OpenVRSystemException<EVRInputError>, ISerializable

object ← Exception ← OpenVRSystemException<EVRInputError> ← VRInputException

ISerializable

OpenVRSystemException<EVRInputError>.ErrorCode, Exception.GetBaseException(), Exception.GetType(), Exception.ToString(), Exception.Data, Exception.HelpLink, Exception.HResult, Exception.InnerException, Exception.Message, Exception.Source, Exception.StackTrace, Exception.TargetSite, Exception.SerializeObjectState, object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Thrown when an OpenVR input (action system) operation (EVRInputError) fails.

public VRInputException(string message, EVRInputError errorCode)

message string

errorCode EVRInputError

Creates an exception with a message derived from errorCode.

public VRInputException(EVRInputError errorCode)

errorCode EVRInputError

Throws a VRInputException if error indicates a failure.

public static void ThrowIfError(EVRInputError error)

error EVRInputError