Difference between revisions of "ShapeType"

m
m
 
(One intermediate revision by one other user 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]]|080|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]]

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