pub struct VRStageParameters {
pub sitting_to_standing_transform: [f32; 16],
pub size_x: f32,
pub size_z: f32,
}
Expand description
The VRStageParameters interface represents the values describing the stage/play area for displays that support room-scale experiences.
Fields§
§sitting_to_standing_transform: [f32; 16]
matrix that transforms the sitting-space view matrices of VRFrameData to standing-space.
size_x: f32
Width of the play-area bounds in meters.
size_z: f32
Depth of the play-area bounds in meters
Trait Implementations§
Source§impl Clone for VRStageParameters
impl Clone for VRStageParameters
Source§fn clone(&self) -> VRStageParameters
fn clone(&self) -> VRStageParameters
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for VRStageParameters
impl RefUnwindSafe for VRStageParameters
impl Send for VRStageParameters
impl Sync for VRStageParameters
impl Unpin for VRStageParameters
impl UnwindSafe for VRStageParameters
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
Mutably borrows from an owned value. Read more