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§
impl StructuralPartialEq for ObsSceneItemTransformSnapshot
Auto Trait Implementations§
impl Forget for ObsSceneItemTransformSnapshot
impl Freeze for ObsSceneItemTransformSnapshotwhere
InternalBitFlags: Freeze,
impl Move for ObsSceneItemTransformSnapshot
impl RefUnwindSafe for ObsSceneItemTransformSnapshotwhere
InternalBitFlags: RefUnwindSafe,
impl Send for ObsSceneItemTransformSnapshotwhere
InternalBitFlags: Send,
impl Sync for ObsSceneItemTransformSnapshotwhere
InternalBitFlags: Sync,
impl Unpin for ObsSceneItemTransformSnapshotwhere
InternalBitFlags: Unpin,
impl UnsafeUnpin for ObsSceneItemTransformSnapshotwhere
InternalBitFlags: UnsafeUnpin,
impl UnwindSafe for ObsSceneItemTransformSnapshotwhere
InternalBitFlags: UnwindSafe,
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