Anonymous

Not logged in

  • British English
  • Log in
GiderosMobile

B2.getScale

From GiderosMobile

Namespaces

  • Page
  • Discussion

More

  • More

Page actions

  • Read
  • View source
  • History
Revision as of 04:03, 17 February 2020 by MoKaLux (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Available since: Gideros 2011.6
Class: b2

Description

Returns the global pixels to meters scale.

(Please refer to b2.setScale function for more information about pixels to meters scaling).

(number) = b2.getScale()

Return values

Returns (number) the global pixels to meters scale



  • b2
  • b2.createDistanceJointDef
  • b2.createFrictionJointDef
  • b2.createGearJointDef
  • b2.createMouseJointDef
  • b2.createPrismaticJointDef
  • b2.createPulleyJointDef
  • b2.createRevoluteJointDef
  • b2.createRopeJointDef
  • b2.createWeldJointDef
  • b2.createWheelJointDef
  • b2.getScale
  • b2.setScale


  • b2.DISTANCE_JOINT
  • b2.DYNAMIC_BODY
  • b2.FRICTION_JOINT
  • b2.GEAR_JOINT
  • b2.KINEMATIC_BODY
  • b2.MOUSE_JOINT
  • b2.PRISMATIC_JOINT
  • b2.PULLEY_JOINT
  • b2.REVOLUTE_JOINT
  • b2.ROPE_JOINT
  • b2.STATIC_BODY
  • b2.WELD_JOINT
  • b2.WHEEL_JOINT

LiquidFun


Retrieved from "https://wiki.gideros.rocks/index.php?title=B2.getScale&oldid=16067"
Categories:
  • Pages using deprecated source tags
  • LiquidFun

Navigation

  • Main page
  • Recent changes
  • Random page
  • Help

Categories

    Lua API
    Main API
    Plugins

    Wiki tools

    Wiki tools

    • Special pages

    Page tools

    Page tools

      User page tools

        More

        • What links here
        • Related changes
        • Printable version
        • Permanent link
        • Page information
        • Page logs

        Categories

        Categories

        • Pages using deprecated source tags
        • LiquidFun
        • Powered by MediaWiki
        • This page was last modified on 17 February 2020, at 04:03.
        • Privacy policy
        • About GiderosMobile
        • Disclaimers