mirror of
https://github.com/photonstorm/phaser
synced 2024-11-21 20:23:19 +00:00
Gave Camera post pipeline
This commit is contained in:
parent
2f081ab360
commit
d8ea418ae6
1 changed files with 3 additions and 4 deletions
|
@ -44,7 +44,7 @@ var Vector2 = require('../../math/Vector2');
|
|||
* @since 3.0.0
|
||||
*
|
||||
* @extends Phaser.Cameras.Scene2D.BaseCamera
|
||||
* @extends Phaser.GameObjects.Components.Pipeline
|
||||
* @extends Phaser.GameObjects.Components.PostPipeline
|
||||
*
|
||||
* @param {number} x - The x position of the Camera, relative to the top-left of the game canvas.
|
||||
* @param {number} y - The y position of the Camera, relative to the top-left of the game canvas.
|
||||
|
@ -56,7 +56,7 @@ var Camera = new Class({
|
|||
Extends: BaseCamera,
|
||||
|
||||
Mixins: [
|
||||
Components.Pipeline
|
||||
Components.PostPipeline
|
||||
],
|
||||
|
||||
initialize:
|
||||
|
@ -65,8 +65,7 @@ var Camera = new Class({
|
|||
{
|
||||
BaseCamera.call(this, x, y, width, height);
|
||||
|
||||
this.postPipelines = [];
|
||||
this.pipelineData = {};
|
||||
this.initPostPipeline();
|
||||
|
||||
/**
|
||||
* Does this Camera allow the Game Objects it renders to receive input events?
|
||||
|
|
Loading…
Reference in a new issue