MCPcopy Index your code
hub / github.com/playcanvas/engine / buildGraph

Function buildGraph

tests/scene/test_graphnode.js:4–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2
3
4function buildGraph() {
5 var g1 = new pc.scene.GraphNode("g1");
6 var g2 = new pc.scene.GraphNode("g2");
7 var g3 = new pc.scene.GraphNode("g3");
8
9 g1.addChild(g2);
10 g2.addChild(g3);
11
12 return g1;
13}
14
15test('GraphNode: addLabel', function () {
16 var node = buildGraph();

Callers 1

test_graphnode.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected