pub struct ObsSceneItemTransformSnapshot {
pub position: Vec2,
pub scale: Vec2,
pub alignment: ObsAlignment,
pub rotation: f32,
pub bounds: Vec2,
pub bounds_type: ObsBoundsType,
pub bounds_alignment: ObsAlignment,
pub crop_to_bounds: bool,
pub crop: ObsSceneItemCrop,
pub scale_filter: ObsScaleType,
pub blend_method: ObsBlendMethod,
pub blend_mode: ObsBlendMode,
}Expand description
Complete render-transform state for one scene item. Unlike ObsTransformInfo, this also
includes edge crop, scaling filter, and blending state stored outside obs_transform_info.
Fields§
§position: Vec2§scale: Vec2§alignment: ObsAlignment§rotation: f32§bounds: Vec2§bounds_type: ObsBoundsType§bounds_alignment: ObsAlignment§crop_to_bounds: bool§crop: ObsSceneItemCrop§scale_filter: ObsScaleType§blend_method: ObsBlendMethod§blend_mode: ObsBlendModeTrait Implementations§
Source§impl Clone for ObsSceneItemTransformSnapshot
impl Clone for ObsSceneItemTransformSnapshot
Source§fn clone(&self) -> ObsSceneItemTransformSnapshot
fn clone(&self) -> ObsSceneItemTransformSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl StructuralPartialEq for ObsSceneItemTransformSnapshot
Auto Trait Implementations§
impl Freeze for ObsSceneItemTransformSnapshot
impl RefUnwindSafe for ObsSceneItemTransformSnapshot
impl Send for ObsSceneItemTransformSnapshot
impl Sync for ObsSceneItemTransformSnapshot
impl Unpin for ObsSceneItemTransformSnapshot
impl UnsafeUnpin for ObsSceneItemTransformSnapshot
impl UnwindSafe for ObsSceneItemTransformSnapshot
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more