Struct rin::scene::transformation::RenderPlane[][src]

pub struct RenderPlane { /* fields omitted */ }

Implementations

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]

pub fn biased_clip_plane(
    &self
) -> Option<Matrix<f32, U4, U1, <DefaultAllocator as Allocator<f32, U4, U1>>::Buffer>>
[src]

pub fn camera_matrices(&self) -> &CameraMatrices[src]

pub fn update_camera_viewport<C>(&mut self, camera: &C, viewport: Rect<i32>) where
    C: CameraExt
[src]

pub fn update_camera_viewport_bias<C>(
    &mut self,
    camera: &C,
    viewport: Rect<i32>,
    bias: f32
) where
    C: CameraExt
[src]

pub fn set_clip_plane(
    &mut self,
    clip_plane: Matrix<f32, U4, U1, <DefaultAllocator as Allocator<f32, U4, U1>>::Buffer>
)
[src]

pub fn clip_plane(
    &self
) -> Option<Matrix<f32, U4, U1, <DefaultAllocator as Allocator<f32, U4, U1>>::Buffer>>
[src]

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]

type Storage = _DenseOneToNVec<RenderPlane, Group>

type MutStorageCacheGuard = ()

impl Debug for RenderPlane[src]

impl<'a> DebugParameter for RenderPlane[src]

impl<'de> Deserialize<'de> for RenderPlane[src]

impl OneToNComponent for RenderPlane[src]

impl Serialize for RenderPlane[src]

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> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Any + Send + Sync
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<V> IntoPnt<V> for V[src]

impl<V> IntoVec<V> for V[src]

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T> Serialize for T where
    T: Serialize + ?Sized
[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]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<C> ComponentSend for C where
    C: Component + Send
[src]

impl<C> ComponentThreadLocal for C where
    C: Component
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]