Skip to main content

render_node

Function render_node 

Source
fn render_node(
    ui: &mut dyn UiBuilder,
    node: &SceneNode,
    depth: u32,
    px: f32,
    pw: f32,
    y: f32,
    selection: &HashSet<EntityId>,
    hidden: &HashSet<EntityId>,
    theme: &UiTheme,
    pending: &Cell<Option<EditorAction>>,
    asset_epoch: u64,
    collapsed: &HashSet<EntityId>,
    renaming: Option<EntityId>,
    rename_rect: &Cell<Option<[f32; 4]>>,
) -> f32