pub struct Placement {
pub floats: [f32; 7],
pub mesh: i16,
pub material: i16,
}Expand description
One placed mesh: position, rotation and scale, then mesh and material table indices.
Fields§
§floats: [f32; 7]The position, the scale (x, y, z each) and the yaw in degrees.
mesh: i16The mesh, an index into the scene’s meshes.
material: i16The material set.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Placement
impl RefUnwindSafe for Placement
impl Send for Placement
impl Sync for Placement
impl Unpin for Placement
impl UnsafeUnpin for Placement
impl UnwindSafe for Placement
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