Skip to main content

mount_component

Function mount_component 

Source
pub fn mount_component<C>(component: C) -> NodeId
where C: Component,
Expand description

Mounts any Component into the framework-managed ambient Context through its full Lifecycle.

§Arguments

  • C - Owned component implementing Component.

§Returns

  • NodeId - Mounted root scene node handle.