pub struct SceneInstance {
pub entity: EntityId,
pub transform: Transform,
pub binding: RenderBinding,
}Expand description
Immutable extracted instance; does not borrow the world or resolve its assets.
Fields§
§entity: EntityIdIdentity at extraction time, not a mutable entity reference.
transform: TransformValidated local transform.
binding: RenderBindingDeclared asset/appearance binding.
Trait Implementations§
Source§impl Clone for SceneInstance
impl Clone for SceneInstance
impl Copy for SceneInstance
Auto Trait Implementations§
impl Freeze for SceneInstance
impl RefUnwindSafe for SceneInstance
impl Send for SceneInstance
impl Sync for SceneInstance
impl Unpin for SceneInstance
impl UnsafeUnpin for SceneInstance
impl UnwindSafe for SceneInstance
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