Difference between revisions of "PolygonShape"
m |
|||
Line 4: | Line 4: | ||
== Functions == | == Functions == | ||
− | {{#ask: [[Category:Functions]] [[parent::PolygonShape]] | + | {{#ask: [[Category:Functions]] [[parent::PolygonShape]] |
+ | | headers=hide | ||
+ | | ?Description | ||
+ | }} | ||
+ | {{#ask: [[Category:Functions]] [[parent:Shape]] | ||
+ | | headers=hide | ||
+ | | ?Descrition | ||
+ | }} | ||
+ | {{#ask: [[Category:Functions]] [[parent::Object]] | ||
| headers=hide | | headers=hide | ||
| ?Description | | ?Description | ||
Line 10: | Line 18: | ||
== Supertypes == | == Supertypes == | ||
[[Shape]] | [[Shape]] | ||
+ | [[Object]] | ||
== See Also == | == See Also == | ||
* [[parent::love.physics]] | * [[parent::love.physics]] |
Revision as of 02:06, 13 February 2011
Polygon is a convex polygon with up to 8 sides.
Create a new polygon shape with love.physics.newPolygonShape or love.physics.newRectangleShape.
Functions
PolygonShape:getPoints | Get the local coordinates of the polygon's vertices. |
PolygonShape:validate | Validates whether the PolygonShape is convex. |
Object:release | Immediately destroys the object's Lua reference. |
Object:type | Gets the type of the object as a string. |
Object:typeOf | Checks whether an object is of a certain type. |
Supertypes
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info