#[non_exhaustive]pub struct StaticMeshBakeInstanceEvidence {
pub source_node_index: usize,
pub source_node_name: String,
pub source_mesh_ordinal: usize,
pub source_mesh_index: usize,
pub source_mesh_name: String,
pub output_node_index: usize,
pub output_mesh_index: usize,
pub world_transform: [f32; 16],
pub linear_determinant: f32,
pub primitive_count: usize,
pub position_count: usize,
pub normal_count: usize,
}Expand description
Evidence for one input mesh-node attachment.
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.source_node_index: usizeSource-format node index of the mesh attachment.
source_node_name: StringSource node name from the input skeleton.
source_mesh_ordinal: usizeOrdinal of the input mesh definition in SceneAssets::meshes.
source_mesh_index: usizeStable mesh-definition identity supplied by the source loader.
source_mesh_name: StringSource mesh-definition name.
output_node_index: usizeNode ordinal in the canonical output document.
output_mesh_index: usizeMesh ordinal in the canonical output document.
world_transform: [f32; 16]Accumulated rest/world matrix in column-major order.
linear_determinant: f32Determinant of the baked linear transform.
primitive_count: usizeNumber of primitives copied into the output mesh.
position_count: usizeNumber of positions copied across all output primitives.
normal_count: usizeNumber of normals copied across all output primitives.
Trait Implementations§
Source§impl Clone for StaticMeshBakeInstanceEvidence
impl Clone for StaticMeshBakeInstanceEvidence
Source§fn clone(&self) -> StaticMeshBakeInstanceEvidence
fn clone(&self) -> StaticMeshBakeInstanceEvidence
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 moreAuto Trait Implementations§
impl Freeze for StaticMeshBakeInstanceEvidence
impl RefUnwindSafe for StaticMeshBakeInstanceEvidence
impl Send for StaticMeshBakeInstanceEvidence
impl Sync for StaticMeshBakeInstanceEvidence
impl Unpin for StaticMeshBakeInstanceEvidence
impl UnsafeUnpin for StaticMeshBakeInstanceEvidence
impl UnwindSafe for StaticMeshBakeInstanceEvidence
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