122

Controlling appearance
TransparencyAttributes class methods

  • Methods on TransparencyAttributes set the transparency
  • By default, transparency is 0.0 (opaque) with a FASTEST transparency mode
  • Method
    TransparencyAttributes( )
    void setTransparency( float transparency )
    void setTransparencyMode( int mode )

  • Transparency modes include: SCREEN_DOOR, BLENDED, NONE, FASTEST (default), and NICEST
  • The FASTEST and NICEST transparency modes automatically select the fastest, and highest quality modes available