pub struct GlbSettings {
pub y_up: bool,
pub origin_on_root: bool,
}Expand description
How LayerSet::to_glb places the model; see
openbim_ifcx_geometry::glb::GlbOptions.
Fields§
§y_up: boolRotate IFCX’s Z-up axes to glTF’s Y-up, so the model stands upright
in glTF viewers. Default true.
origin_on_root: boolKeep the model’s coordinates by putting the scene origin on the root
node. With false the model sits around the glTF origin, and the
origin is only recorded in the root’s extras. Default true.
Trait Implementations§
Source§impl Clone for GlbSettings
impl Clone for GlbSettings
Source§fn clone(&self) -> GlbSettings
fn clone(&self) -> GlbSettings
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GlbSettings
impl Debug for GlbSettings
Source§impl Default for GlbSettings
impl Default for GlbSettings
Source§impl PartialEq for GlbSettings
impl PartialEq for GlbSettings
impl Copy for GlbSettings
impl Eq for GlbSettings
impl StructuralPartialEq for GlbSettings
Auto Trait Implementations§
impl Freeze for GlbSettings
impl RefUnwindSafe for GlbSettings
impl Send for GlbSettings
impl Sync for GlbSettings
impl Unpin for GlbSettings
impl UnwindSafe for GlbSettings
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.