Struct rin::scene::transformation::RenderPlane [−][src]
pub struct RenderPlane { /* fields omitted */ }
Implementations
impl RenderPlane
[src]
impl RenderPlane
[src]pub fn new<C>(
camera: &C,
viewport: Rect<i32>,
clip_plane: Option<Matrix<f32, U4, U1, <DefaultAllocator as Allocator<f32, U4, U1>>::Buffer>>,
bias: f32
) -> RenderPlane where
C: CameraExt,
[src]
camera: &C,
viewport: Rect<i32>,
clip_plane: Option<Matrix<f32, U4, U1, <DefaultAllocator as Allocator<f32, U4, U1>>::Buffer>>,
bias: f32
) -> RenderPlane where
C: CameraExt,
pub fn biased_clip_plane(
&self
) -> Option<Matrix<f32, U4, U1, <DefaultAllocator as Allocator<f32, U4, U1>>::Buffer>>
[src]
&self
) -> Option<Matrix<f32, U4, U1, <DefaultAllocator as Allocator<f32, U4, U1>>::Buffer>>
pub fn camera_matrices(&self) -> &CameraMatrices
[src]
pub fn update_camera_viewport<C>(&mut self, camera: &C, viewport: Rect<i32>) where
C: CameraExt,
[src]
C: CameraExt,
pub fn update_camera_viewport_bias<C>(
&mut self,
camera: &C,
viewport: Rect<i32>,
bias: f32
) where
C: CameraExt,
[src]
&mut self,
camera: &C,
viewport: Rect<i32>,
bias: f32
) where
C: CameraExt,
pub fn set_clip_plane(
&mut self,
clip_plane: Matrix<f32, U4, U1, <DefaultAllocator as Allocator<f32, U4, U1>>::Buffer>
)
[src]
&mut self,
clip_plane: Matrix<f32, U4, U1, <DefaultAllocator as Allocator<f32, U4, U1>>::Buffer>
)
pub fn clip_plane(
&self
) -> Option<Matrix<f32, U4, U1, <DefaultAllocator as Allocator<f32, U4, U1>>::Buffer>>
[src]
&self
) -> Option<Matrix<f32, U4, U1, <DefaultAllocator as Allocator<f32, U4, U1>>::Buffer>>
pub fn bias(&self) -> f32
[src]
pub fn has_changed(&self) -> bool
[src]
pub fn reset_has_changed(&mut self)
[src]
pub fn set_draw_translucent(&mut self, draw_translucent: bool)
[src]
pub fn draw_translucent(&self) -> bool
[src]
pub fn set_draw_debug(&mut self, draw_debug: bool)
[src]
pub fn draw_debug(&self) -> bool
[src]
Trait Implementations
impl Component for RenderPlane
[src]
impl Component for RenderPlane
[src]type Storage = _DenseOneToNVec<RenderPlane, Group>
type MutStorageCacheGuard = ()
pub fn type_name() -> &'static str
[src]
pub fn is_reference() -> bool
[src]
pub fn id() -> TypeId
[src]
pub fn references_other(
) -> Option<Box<dyn Fn(&Storages, &Entity) + 'static, Global>>
[src]
) -> Option<Box<dyn Fn(&Storages, &Entity) + 'static, Global>>
impl<'a> DebugParameter for RenderPlane
[src]
impl<'a> DebugParameter for RenderPlane
[src]pub fn debug<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
[src]
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
impl<'de> Deserialize<'de> for RenderPlane
[src]
impl<'de> Deserialize<'de> for RenderPlane
[src]pub fn deserialize<__D>(
__deserializer: __D
) -> Result<RenderPlane, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<RenderPlane, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl OneToNComponent for RenderPlane
[src]
impl OneToNComponent for RenderPlane
[src]pub fn slice_type_name() -> &'static str
[src]
impl Serialize for RenderPlane
[src]
impl Serialize for RenderPlane
[src]pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Auto Trait Implementations
impl RefUnwindSafe for RenderPlane
impl Send for RenderPlane
impl Sync for RenderPlane
impl Unpin for RenderPlane
impl UnwindSafe for RenderPlane
Blanket Implementations
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]impl<T> Serialize for T where
T: Serialize + ?Sized,
[src]
impl<T> Serialize for T where
T: Serialize + ?Sized,
[src]pub fn erased_serialize(
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>
[src]
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<C> ComponentSend for C where
C: Component + Send,
[src]
C: Component + Send,
impl<C> ComponentThreadLocal for C where
C: Component,
[src]
C: Component,
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,