pub struct Scene {
pub instance_physics_scene: Vec<Instance<PhysicsScene>>,
pub instance_visual_scene: Option<Instance<VisualScene>>,
pub extra: Vec<Extra>,
}
Expand description
Embodies the entire set of information that can be visualized from the contents of a COLLADA resource.
Fields§
§instance_physics_scene: Vec<Instance<PhysicsScene>>
The instantiated PhysicsScene
elements describe
any physics being applied to the scene.
instance_visual_scene: Option<Instance<VisualScene>>
The scene graph is built from the VisualScene
elements instantiated under Scene
.
extra: Vec<Extra>
Provides arbitrary additional information about this element.
Implementations§
Source§impl Scene
impl Scene
Sourcepub fn new(instance_visual_scene: Instance<VisualScene>) -> Self
pub fn new(instance_visual_scene: Instance<VisualScene>) -> Self
Construct a new Scene
from a VisualScene
instance.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Scene
impl RefUnwindSafe for Scene
impl Send for Scene
impl Sync for Scene
impl Unpin for Scene
impl UnwindSafe for Scene
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