Skip to content
This repository has been archived by the owner on Feb 23, 2023. It is now read-only.

Commit

Permalink
Merge pull request #149 from markknol/patch-1
Browse files Browse the repository at this point in the history
DisplacementFilter.scale
  • Loading branch information
adireddy authored Feb 23, 2018
2 parents 22560f9 + 4f40304 commit 91ba0e4
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions src/pixi/filters/displacement/DisplacementFilter.hx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package pixi.filters.displacement;

import pixi.core.math.Point;
import pixi.core.textures.Texture;
import pixi.core.sprites.Sprite;
import pixi.core.renderers.webgl.filters.Filter;
Expand All @@ -20,10 +21,15 @@ extern class DisplacementFilter extends Filter {
function new(sprite:Sprite, ?scale:Float);

/**
* The texture used for the displacement map. Must be power of 2 sized texture.
*
* @member {Texture}
* @memberof PIXI.filters.DisplacementFilter#
*/
* The texture used for the displacement map. Must be power of 2 sized texture.
*
* @member {Texture}
* @memberof PIXI.filters.DisplacementFilter#
*/
var map:Texture;
}

/**
* The scale of the displacement.
*/
var scale:Point;
}

0 comments on commit 91ba0e4

Please sign in to comment.