Struct XrActionSet
Action sets are application-defined collections of actions. They are attached to a given XrSession with a xrAttachSessionActionSets call. They are enabled or disabled by the application via xrSyncActions depending on the current application context. For example, a game may have one set of actions that apply to controlling a character and another set for navigating a menu system. When these actions are grouped into two XrActionSet handles they can be selectively enabled and disabled using a single function call.
Assembly: VIVE.OpenXR.dll
Syntax
public struct XrActionSet : IEquatable<ulong>
Constructors
XrActionSet(ulong)
Declaration
public XrActionSet(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(XrActionSet)
Declaration
public bool Equals(XrActionSet other)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
operator +(XrActionSet, XrActionSet)
Declaration
public static XrActionSet operator +(XrActionSet a, XrActionSet b)
Parameters
Returns
operator /(XrActionSet, XrActionSet)
Declaration
public static XrActionSet operator /(XrActionSet a, XrActionSet b)
Parameters
Returns
operator ==(XrActionSet, XrActionSet)
Declaration
public static bool operator ==(XrActionSet a, XrActionSet b)
Parameters
Returns
operator >(XrActionSet, XrActionSet)
Declaration
public static bool operator >(XrActionSet a, XrActionSet b)
Parameters
Returns
operator >=(XrActionSet, XrActionSet)
Declaration
public static bool operator >=(XrActionSet a, XrActionSet b)
Parameters
Returns
implicit operator XrActionSet(ulong)
Declaration
public static implicit operator XrActionSet(ulong u)
Parameters
Type |
Name |
Description |
ulong |
u |
|
Returns
implicit operator ulong(XrActionSet)
Declaration
public static implicit operator ulong(XrActionSet equatable)
Parameters
Returns
operator !=(XrActionSet, XrActionSet)
Declaration
public static bool operator !=(XrActionSet a, XrActionSet b)
Parameters
Returns
operator <(XrActionSet, XrActionSet)
Declaration
public static bool operator <(XrActionSet a, XrActionSet b)
Parameters
Returns
operator <=(XrActionSet, XrActionSet)
Declaration
public static bool operator <=(XrActionSet a, XrActionSet b)
Parameters
Returns
operator *(XrActionSet, XrActionSet)
Declaration
public static XrActionSet operator *(XrActionSet a, XrActionSet b)
Parameters
Returns
operator -(XrActionSet, XrActionSet)
Declaration
public static XrActionSet operator -(XrActionSet a, XrActionSet b)
Parameters
Returns
Implements