1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
// The VRStageParameters interface represents the values describing the
// stage/play area for displays that support room-scale experiences.
#[derive(Debug, Clone)]
#[cfg_attr(feature = "serde-serialization", derive(Deserialize, Serialize))]
pub struct VRStageParameters {
    // matrix that transforms the sitting-space view matrices of VRFrameData to standing-space.
    pub sitting_to_standing_transform: [f32; 16],
    // Width of the play-area bounds in meters.
    pub size_x: f32,
    // Depth of the play-area bounds in meters
    pub size_z: f32
}