#[repr(C)]pub struct VRActiveActionSet_t {
pub ulActionSet: VRActionSetHandle_t,
pub ulRestrictedToDevice: VRInputValueHandle_t,
pub ulSecondaryActionSet: VRActionSetHandle_t,
pub unPadding: u32,
pub nPriority: i32,
}Fields§
§ulActionSet: VRActionSetHandle_tThis is the handle of the action set to activate for this frame.
ulRestrictedToDevice: VRInputValueHandle_tThis is the handle of a device path that this action set should be active for. To activate for all devices, set this to k_ulInvalidInputValueHandle.
ulSecondaryActionSet: VRActionSetHandle_tThe action set to activate for all devices other than ulRestrictedDevice. If ulRestrictedToDevice is set to k_ulInvalidInputValueHandle, this parameter is ignored.
unPadding: u32§nPriority: i32The priority of this action set relative to other action sets. Any inputs bound to a source (e.g. trackpad, joystick, trigger) will disable bindings in other active action sets with a smaller priority.
Overlay applications (i.e. ApplicationType_Overlay) may set their action set priority to a value between k_nActionSetOverlayGlobalPriorityMin and k_nActionSetOverlayGlobalPriorityMax to cause any inputs bound to a source used by that action set to be disabled in scene applications.
No action set priority may value may be larger than k_nActionSetPriorityReservedMin
Implementations§
Trait Implementations§
Source§impl CopyNew for VRActiveActionSet_t
impl CopyNew for VRActiveActionSet_t
Source§unsafe fn copy_new(
other: &VRActiveActionSet_t,
this: Pin<&mut MaybeUninit<VRActiveActionSet_t>>,
)
unsafe fn copy_new( other: &VRActiveActionSet_t, this: Pin<&mut MaybeUninit<VRActiveActionSet_t>>, )
Synthesized copy constructor.
Source§impl Drop for VRActiveActionSet_t
impl Drop for VRActiveActionSet_t
Source§fn drop(self: &mut VRActiveActionSet_t)
fn drop(self: &mut VRActiveActionSet_t)
Synthesized destructor.
Source§impl ExternType for VRActiveActionSet_t
impl ExternType for VRActiveActionSet_t
Source§impl MakeCppStorage for VRActiveActionSet_t
impl MakeCppStorage for VRActiveActionSet_t
Source§unsafe fn allocate_uninitialized_cpp_storage() -> *mut VRActiveActionSet_t
unsafe fn allocate_uninitialized_cpp_storage() -> *mut VRActiveActionSet_t
Source§unsafe fn free_uninitialized_cpp_storage(arg0: *mut VRActiveActionSet_t)
unsafe fn free_uninitialized_cpp_storage(arg0: *mut VRActiveActionSet_t)
Source§impl MoveNew for VRActiveActionSet_t
impl MoveNew for VRActiveActionSet_t
Source§unsafe fn move_new(
other: Pin<MoveRef<'_, VRActiveActionSet_t>>,
this: Pin<&mut MaybeUninit<VRActiveActionSet_t>>,
)
unsafe fn move_new( other: Pin<MoveRef<'_, VRActiveActionSet_t>>, this: Pin<&mut MaybeUninit<VRActiveActionSet_t>>, )
Synthesized move constructor.
impl UniquePtrTarget for VRActiveActionSet_t
impl VectorElement for VRActiveActionSet_t
impl WeakPtrTarget for VRActiveActionSet_t
Auto Trait Implementations§
impl Freeze for VRActiveActionSet_t
impl RefUnwindSafe for VRActiveActionSet_t
impl Send for VRActiveActionSet_t
impl Sync for VRActiveActionSet_t
impl Unpin for VRActiveActionSet_t
impl UnwindSafe for VRActiveActionSet_t
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.