Skip to content

Add API for manipulating the SceneGraph #5

@michael

Description

@michael

E.g.

// Remove a specific node
scene.remove('frank');

// Remove all actors with an x-value greater than 10
scene.remove(function(a) {return a.properties.x > 10); });

// Replace a certain actor with another one
scene.replace('frank', new uv.Label({text: 'John'});

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions