[−][src]Struct oxygengine_composite_renderer::resource::CompositeCameraCache
Implementations
impl CompositeCameraCache
[src]
pub fn last_view_size(&self) -> Vec2
[src]
pub fn screen_to_world_space(&self, entity: Entity, point: Vec2) -> Option<Vec2>
[src]
pub fn world_to_screen_space(&self, entity: Entity, point: Vec2) -> Option<Vec2>
[src]
pub fn world_transform(&self, entity: Entity) -> Option<Mat2d>
[src]
pub fn world_inverse_transform(&self, entity: Entity) -> Option<Mat2d>
[src]
pub fn world_both_transforms(&self, entity: Entity) -> Option<(Mat2d, Mat2d)>
[src]
pub fn calculate_view_box(&self, entity: Entity) -> Option<Rect>
[src]
pub fn calculate_world_size(&self, entity: Entity) -> Option<Vec2>
[src]
Trait Implementations
impl Default for CompositeCameraCache
[src]
fn default() -> CompositeCameraCache
[src]
Auto Trait Implementations
impl RefUnwindSafe for CompositeCameraCache
impl Send for CompositeCameraCache
impl Sync for CompositeCameraCache
impl Unpin for CompositeCameraCache
impl UnwindSafe for CompositeCameraCache
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
T: Any,
fn get_type_id(&self) -> TypeId
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Event for T where
T: Send + Sync + 'static,
T: Send + Sync + 'static,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Resource for T where
T: Any,
T: Any,
impl<T> TryDefault for T where
T: Default,
T: Default,
fn try_default() -> Result<T, String>
fn unwrap_default() -> Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,