object PIXI extends Object

Pixi.js — A 2D JavaScript Renderer

The aim of this project is to provide a fast lightweight 2D library that works across all devices. The Pixi renderer allows everyone to enjoy the power of hardware acceleration without prior knowledge of WebGL. Also, it's fast. Really fast.

If you want to keep up to date with the latest pixi.js news then feel free to follow us on twitter (@doormat23, and @rolnaaba) and we will keep you posted! You can also check back on our site as any breakthroughs will be posted up there too!

Annotations
@native() @JSName( "PIXI" )
Version

3.0

See also

http://pixijs.github.io/docs

Linear Supertypes
Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PIXI
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type DisplayObject = pixijs.DisplayObject
  2. type DisplayObjectContainer = pixijs.DisplayObjectContainer
  3. type Matrix = pixijs.Matrix

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val PI_2: Double

    Constant: Two Pi

  5. val RAD_TO_DEG: Double

    Constant conversion factor for converting radians to degrees.

  6. val RETINA_PREFIX: String

    The prefix that denotes a URL is for a retina asset.

  7. val TARGET_FPMS: Double

    Target frames per millisecond.

  8. val VERSION: String

    String of the current PIXI version

  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def autoDetectRenderer(width: Double = js.native, height: Double = js.native, options: |[AutoDetectRendererOptions, RawOptions] = js.native, noWebGL: Boolean = js.native): AbstractRenderer

    This helper function will automatically detect which renderer you should be using.

    This helper function will automatically detect which renderer you should be using. WebGL is the preferred renderer as it is a lot faster. If webGL is not supported by the browser then this function will return a canvas renderer.

    width

    the width of the renderers view

    height

    the height of the renderers view

    options

    The optional renderer parameters

    noWebGL

    prevents selection of WebGL renderer, even if such is present

    returns

    WebGL renderer if available, otherwise CanvasRenderer

  11. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  16. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  20. var loader: Loader

    A pre-made instance of the loader that can be used to loader resources.

  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  24. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  25. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  26. def toLocaleString(): String
    Definition Classes
    Object
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. def valueOf(): Any
    Definition Classes
    Object
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. object BLEND_MODES extends Object

    Various blend modes supported by PIXI.

    Various blend modes supported by PIXI. IMPORTANT - The WebGL renderer only supports the NORMAL, ADD, MULTIPLY and SCREEN blend modes. Anything else will silently act like NORMAL.

    Annotations
    @native() @JSName( "BLEND_MODES" )
  33. object DEFAULT_RENDER_OPTIONS extends Object

    The default render options if none are supplied to PIXI.WebGLRenderer or PIXI.CanvasRenderer.

    The default render options if none are supplied to PIXI.WebGLRenderer or PIXI.CanvasRenderer.

    Annotations
    @native() @JSName( "DEFAULT_RENDER_OPTIONS" )
    See also

    http://pixijs.github.io/docs/PIXI.html#.RENDERER_TYPE

  34. object DRAW_MODES extends Object

    Various webgl draw modes.

    Various webgl draw modes. These can be used to specify which GL drawMode to use under certain situations and renderers.

    Annotations
    @native() @JSName( "DRAW_MODES" )
  35. object RENDERER_TYPE extends Object

    Constant to identify the Renderer Type.

    Constant to identify the Renderer Type.

    Annotations
    @native() @JSName( "RENDERER_TYPE" )
  36. object SCALE_MODES extends Object

    The scale modes that are supported by pixi.

    The scale modes that are supported by pixi. The DEFAULT scale mode affects the default scaling mode of future operations. It can be re-assigned to either LINEAR or NEAREST, depending upon suitability.

    Annotations
    @native() @JSName( "SCALE_MODES" )
  37. object SHAPES extends Object

    Constants that identify shapes, mainly to prevent instanceof calls.

    Constants that identify shapes, mainly to prevent instanceof calls.

    Annotations
    @native() @JSName( "SHAPES" )
  38. object filters extends Object

    Filter implementations

    Filter implementations

    Annotations
    @native() @JSName( "filters" )
  39. object loaders extends Object

    PIXI.loaders object

    PIXI.loaders object

    Annotations
    @native() @JSName( "loaders" )
  40. object tickers extends Object
    Annotations
    @native() @JSName( "tickers" )

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped