melonJS
Plugins
Website
Wiki
GitHub
Discord
Preparing search index...
MaskShape
Type Alias MaskShape
MaskShape
:
Ellipse
|
Polygon
|
MaskImage
|
Sprite
|
string
What a
MaskEffect
is shaped like:
an
Ellipse
(an iris) or a
Polygon
, unit-sized;
an image, or the name of a preloaded one: its silhouette;
a
Sprite
: the silhouette of the frame it shows when the effect starts.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Plugins
Website
Wiki
GitHub
Discord
melonJS
Loading...
What a MaskEffect is shaped like:
Ellipse(an iris) or aPolygon, unit-sized;Sprite: the silhouette of the frame it shows when the effect starts.