Difference between revisions of "B2.Shape"

From GiderosMobile
(removed language stuff)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''<translate>Supported platforms</translate>:''' [[File:Platform android]][[File:Platform ios]][[File:Platform mac]][[File:Platform pc]]<br/>
+
<!-- GIDEROSOBJ:b2.Shape -->
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
+
'''Supported platforms:''' [[File:Platform android.png]][[File:Platform ios.png]][[File:Platform mac.png]][[File:Platform pc.png]][[File:Platform html5.png]][[File:Platform winrt.png]][[File:Platform win32.png]]<br/>
=== <translate>Description</translate> ===
+
'''Available since:''' Gideros 2011.6<br/>
<translate><br />
+
 
A shape is used for collision detection.<br />
+
=== Description ===
You can not create a `b2.Shape` instance directly, but instead you create `b2.CircleShape`, `b2.ChainShape` and `b2.PolygonShape` instances.<br />
+
A shape is used for collision detection.
<br /></translate>
+
 
{|-
+
You can not create a '''b2.Shape''' instance directly, but instead you create [[b2.ChainShape]], [[b2.CircleShape]], [[b2.EdgeShape]] and [[b2.PolygonShape]] instances.
| style="width: 50%; vertical-align:top;"|
+
 
=== <translate>Methods</translate> ===
+
=== Classes ===
| style="width: 50%; vertical-align:top;"|
+
<div style="column-count:2;-moz-column-count:2;-webkit-column-count:2">
=== <translate>Events</translate> ===
+
[[b2.ChainShape]]<br/>
=== <translate>Constants</translate> ===
+
[[b2.CircleShape]]<br/>
|}
+
[[b2.EdgeShape]]<br/>
 +
[[b2.PolygonShape]]<br/>
 +
</div>
 +
 
 +
----
 +
*'''[[LiquidFun]]'''

Latest revision as of 04:28, 27 June 2021

Supported platforms: Platform android.pngPlatform ios.pngPlatform mac.pngPlatform pc.pngPlatform html5.pngPlatform winrt.pngPlatform win32.png
Available since: Gideros 2011.6

Description

A shape is used for collision detection.

You can not create a b2.Shape instance directly, but instead you create b2.ChainShape, b2.CircleShape, b2.EdgeShape and b2.PolygonShape instances.

Classes