Difference between revisions of "ShapeType"

m
 
(3 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
;circle: The Shape is a [[CircleShape]].
 
;circle: The Shape is a [[CircleShape]].
 
;polygon: The Shape is a [[PolygonShape]].
 
;polygon: The Shape is a [[PolygonShape]].
{{newin|[[0.8.0]]|type=ShapeTypes|plural=yes}}
+
{{New_feature|0.8.0|
 
;edge: The Shape is a [[EdgeShape]].
 
;edge: The Shape is a [[EdgeShape]].
 
;chain: The Shape is a [[ChainShape]].
 
;chain: The Shape is a [[ChainShape]].
 +
|080}}
 
== See Also ==
 
== See Also ==
 +
* [[parent::love.physics]]
 
* [[parent::Shape]]
 
* [[parent::Shape]]
 
[[Category:Enums]]
 
[[Category:Enums]]
 
{{#set:Description=The different types of [[Shape|Shapes]], as returned by [[Shape:getType]].}}
 
{{#set:Description=The different types of [[Shape|Shapes]], as returned by [[Shape:getType]].}}
 +
{{#set:Since=000}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|ShapeType}}
 
{{i18n|ShapeType}}

Latest revision as of 00:54, 7 November 2016

The different types of Shapes, as returned by Shape:getType.

Constants

circle
The Shape is a CircleShape.
polygon
The Shape is a PolygonShape.
Available since LÖVE 0.8.0
edge
The Shape is a EdgeShape.
chain
The Shape is a ChainShape.

See Also


Other Languages