#[repr(C)]pub struct XRView {
pub proj_matrix: Matrix4x4,
pub view_matrix: Matrix4x4,
pub viewport: Rect,
pub occlusion_mesh: Mesh,
pub texture_array_slice: i32,
}Expand description
Fields§
§proj_matrix: Matrix4x4§view_matrix: Matrix4x4§viewport: Rect§occlusion_mesh: Mesh§texture_array_slice: i32Implementations§
Source§impl XRView
impl XRView
Sourcepub fn ctor(
&mut self,
proj: impl Into<Matrix4x4>,
view: impl Into<Matrix4x4>,
vp: impl Into<Rect>,
dst_slice: impl Into<i32>,
)
pub fn ctor( &mut self, proj: impl Into<Matrix4x4>, view: impl Into<Matrix4x4>, vp: impl Into<Rect>, dst_slice: impl Into<i32>, )
.ctor(crate::unity_engine::matrix4x4::Matrix4x4, crate::unity_engine::matrix4x4::Matrix4x4, crate::unity_engine::rect::Rect, i32) overload
Sourcepub fn ctor_2(
&mut self,
render_pass: impl Into<XRDisplaySubsystem_XRRenderPass>,
render_parameter: impl Into<XRDisplaySubsystem_XRRenderParameter>,
)
pub fn ctor_2( &mut self, render_pass: impl Into<XRDisplaySubsystem_XRRenderPass>, render_parameter: impl Into<XRDisplaySubsystem_XRRenderParameter>, )
.ctor(crate::unity_engine::xr::xrdisplaysubsystem::XRDisplaySubsystem_XRRenderPass, crate::unity_engine::xr::xrdisplaysubsystem::XRDisplaySubsystem_XRRenderParameter) overload
Source§impl XRView
impl XRView
pub fn ctor_method_info() -> &'static MethodInfo
pub fn ctor_2_method_info() -> &'static MethodInfo
Trait Implementations§
Auto Trait Implementations§
impl Freeze for XRView
impl RefUnwindSafe for XRView
impl !Send for XRView
impl !Sync for XRView
impl Unpin for XRView
impl UnwindSafe for XRView
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)