#[non_exhaustive]pub struct SceneMeasurements {
pub scene_index: usize,
pub name: Option<String>,
pub instance_count: usize,
pub static_scene_world_aabb: Option<Aabb>,
pub excluded_instance_count: usize,
}Expand description
Static aggregate bounds for one declared source scene.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.scene_index: usizeStable index of the scene in the source format.
name: Option<String>Authored scene name, when present.
instance_count: usizeNumber of mesh-bearing node instances reachable from the scene roots.
static_scene_world_aabb: Option<Aabb>Union of every available static node-instance AABB in this scene.
excluded_instance_count: usizeReachable instances excluded because their static node AABB was unavailable. A non-zero value means the scene aggregate is partial.
Trait Implementations§
Source§impl Clone for SceneMeasurements
impl Clone for SceneMeasurements
Source§fn clone(&self) -> SceneMeasurements
fn clone(&self) -> SceneMeasurements
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 moreSource§impl Debug for SceneMeasurements
impl Debug for SceneMeasurements
Source§impl<'de> Deserialize<'de> for SceneMeasurements
impl<'de> Deserialize<'de> for SceneMeasurements
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SceneMeasurements
impl RefUnwindSafe for SceneMeasurements
impl Send for SceneMeasurements
impl Sync for SceneMeasurements
impl Unpin for SceneMeasurements
impl UnsafeUnpin for SceneMeasurements
impl UnwindSafe for SceneMeasurements
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