Struct XrSession
A session represents an application’s intention to display XR content to the user.
Refer to Session Lifecycle for more details.
Assembly: VIVE.OpenXR.dll
Syntax
public struct XrSession : IEquatable<ulong>
Constructors
XrSession(ulong)
Declaration
public XrSession(ulong u)
Parameters
Type |
Name |
Description |
ulong |
u |
|
Methods
Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
object |
obj |
|
Returns
Overrides
Equals(ulong)
Declaration
public bool Equals(ulong other)
Parameters
Type |
Name |
Description |
ulong |
other |
|
Returns
Equals(XrSession)
Declaration
public bool Equals(XrSession other)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
operator +(XrSession, XrSession)
Declaration
public static XrSession operator +(XrSession a, XrSession b)
Parameters
Returns
operator /(XrSession, XrSession)
Declaration
public static XrSession operator /(XrSession a, XrSession b)
Parameters
Returns
operator ==(XrSession, XrSession)
Declaration
public static bool operator ==(XrSession a, XrSession b)
Parameters
Returns
operator >(XrSession, XrSession)
Declaration
public static bool operator >(XrSession a, XrSession b)
Parameters
Returns
operator >=(XrSession, XrSession)
Declaration
public static bool operator >=(XrSession a, XrSession b)
Parameters
Returns
implicit operator XrSession(ulong)
Declaration
public static implicit operator XrSession(ulong u)
Parameters
Type |
Name |
Description |
ulong |
u |
|
Returns
implicit operator ulong(XrSession)
Declaration
public static implicit operator ulong(XrSession equatable)
Parameters
Returns
operator !=(XrSession, XrSession)
Declaration
public static bool operator !=(XrSession a, XrSession b)
Parameters
Returns
operator <(XrSession, XrSession)
Declaration
public static bool operator <(XrSession a, XrSession b)
Parameters
Returns
operator <=(XrSession, XrSession)
Declaration
public static bool operator <=(XrSession a, XrSession b)
Parameters
Returns
operator *(XrSession, XrSession)
Declaration
public static XrSession operator *(XrSession a, XrSession b)
Parameters
Returns
operator -(XrSession, XrSession)
Declaration
public static XrSession operator -(XrSession a, XrSession b)
Parameters
Returns
Implements