pub struct Scene3d {
pub camera: Camera,
pub light_rig: LightRig,
pub backdrop: Option<Backdrop>,
}Expand description
三维场景(<a:scene3d>,OOXML CT_Scene3D)。
包含相机与光照,定义观察形状的虚拟 3D 环境。
Fields§
§camera: Camera相机(必填,默认 orthographicFront)。
light_rig: LightRig光照设备(必填,默认 balanced + t)。
backdrop: Option<Backdrop>三维场景背景(<a:backdrop>,可选,TODO-050)。
定义 6 个背景平面(地板/墙壁/左/右/顶/底),启用的平面会渲染为可见的背景面。
None 表示不写出 <a:backdrop> 元素(与 Office 默认行为一致)。
Implementations§
Trait Implementations§
impl Eq for Scene3d
impl StructuralPartialEq for Scene3d
Auto Trait Implementations§
impl Freeze for Scene3d
impl RefUnwindSafe for Scene3d
impl Send for Scene3d
impl Sync for Scene3d
impl Unpin for Scene3d
impl UnsafeUnpin for Scene3d
impl UnwindSafe for Scene3d
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.