pub struct BevyGltfAddressabilityProjectionV2 { /* private fields */ }Expand description
Structured rich projections paired with the one engine-addressability check.
Implementations§
Source§impl BevyGltfAddressabilityProjectionV2
impl BevyGltfAddressabilityProjectionV2
Sourcepub fn from_inventories(
raw: &RawGltfAddressabilityInventoryV1,
animations: &GltfAnimationAddressabilityInventoryV1,
bevy_animation_enabled: bool,
load_animations: bool,
pointer_width: Option<TargetPointerWidth>,
) -> Result<Self, GltfAddressabilityV2Error>
pub fn from_inventories( raw: &RawGltfAddressabilityInventoryV1, animations: &GltfAnimationAddressabilityInventoryV1, bevy_animation_enabled: bool, load_animations: bool, pointer_width: Option<TargetPointerWidth>, ) -> Result<Self, GltfAddressabilityV2Error>
Project rich Bevy values from the immutable raw sidecar and unchanged animation inventory.
Sourcepub fn scenes(&self) -> &[GltfAddressabilitySceneV2]
pub fn scenes(&self) -> &[GltfAddressabilitySceneV2]
Exact typed scene-label rows.
Sourcepub const fn default_scene_route(
&self,
) -> &GltfAddressabilityProjectionV2<String>
pub const fn default_scene_route( &self, ) -> &GltfAddressabilityProjectionV2<String>
Optional route to one existing Scene{i}.
Sourcepub fn skins(&self) -> &[GltfAddressabilitySkinV2]
pub fn skins(&self) -> &[GltfAddressabilitySkinV2]
Exact source-skin rows with distinct conditional/eager labels.
Sourcepub fn named_maps(&self) -> &[GltfAddressabilityNamedMapV2]
pub fn named_maps(&self) -> &[GltfAddressabilityNamedMapV2]
Scene, animation, and skin named-map projections.
Sourcepub fn targets(&self) -> &[GltfAddressabilityTargetV2]
pub fn targets(&self) -> &[GltfAddressabilityTargetV2]
Unique source animation target-node projections.
Sourcepub const fn target_coverage(&self) -> &GltfAddressabilityProjectionV2<()>
pub const fn target_coverage(&self) -> &GltfAddressabilityProjectionV2<()>
Whether the unique-target collection is exhaustive.
Whether any rich prediction is required-unavailable.
Trait Implementations§
Source§impl Clone for BevyGltfAddressabilityProjectionV2
impl Clone for BevyGltfAddressabilityProjectionV2
Source§fn clone(&self) -> BevyGltfAddressabilityProjectionV2
fn clone(&self) -> BevyGltfAddressabilityProjectionV2
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<'de> Deserialize<'de> for BevyGltfAddressabilityProjectionV2
impl<'de> Deserialize<'de> for BevyGltfAddressabilityProjectionV2
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
impl Eq for BevyGltfAddressabilityProjectionV2
impl StructuralPartialEq for BevyGltfAddressabilityProjectionV2
Auto Trait Implementations§
impl Freeze for BevyGltfAddressabilityProjectionV2
impl RefUnwindSafe for BevyGltfAddressabilityProjectionV2
impl Send for BevyGltfAddressabilityProjectionV2
impl Sync for BevyGltfAddressabilityProjectionV2
impl Unpin for BevyGltfAddressabilityProjectionV2
impl UnsafeUnpin for BevyGltfAddressabilityProjectionV2
impl UnwindSafe for BevyGltfAddressabilityProjectionV2
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