Skip to content

Commit bf2a73c

Browse files
committed
Reset RenderPass creation
1 parent 1f4f3da commit bf2a73c

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

v3/src/gameobjects/renderpass/RenderPassCreator.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ GameObjectCreator.register('renderPass', function (config)
2020
BuildGameObject(this.scene, pass, config);
2121

2222
pass.setFlipY(true);
23-
23+
pass.setPosition(x, y);
24+
pass.setSize(width, height);
25+
pass.setOrigin(0, 0);
26+
2427
return pass;
2528
});

0 commit comments

Comments
 (0)