Difference between revisions of "ShapeType"

(Created page with 'The different types of Shapes, as returned by Shape:getType. == Constants == ;circle: The Shape is circular. ;polygon: The Shape is polygonal. == See Also == * [[pa…')
 
m
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
The different types of [[Shape|Shapes]], as returned by [[Shape:getType]].
 
The different types of [[Shape|Shapes]], as returned by [[Shape:getType]].
 
== Constants ==
 
== Constants ==
;circle: The Shape is circular.
+
;circle: The Shape is a [[CircleShape]].
;polygon: The Shape is polygonal.
+
;polygon: The Shape is a [[PolygonShape]].
 +
{{New_feature|0.8.0|
 +
;edge: The Shape is a [[EdgeShape]].
 +
;chain: The Shape is a [[ChainShape]].
 +
|080}}
 
== See Also ==
 
== See Also ==
 
* [[parent::love.physics]]
 
* [[parent::love.physics]]
 +
* [[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 ==
 +
{{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