Difference between revisions of "Shape:getMaskBits"

 
 
(9 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
+
{{oldin|[[0.6.1]]|061|type=function}}
 
+
Returns a 16-bit integer representing the masked categories.
 +
A set bit means that a collision occurs with members of that category.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 12: Line 13:
 
== See Also ==
 
== See Also ==
 
* [[parent::Shape]]
 
* [[parent::Shape]]
 +
* [[Shape:getMask]]
 +
* [[Shape:setMask]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=}}
+
{{#set:Description=Returns a 16-bit integer representing the masked categories.}}
 +
== Other Languages ==
 +
{{i18n|Shape:getMaskBits}}

Latest revision as of 10:53, 25 March 2011

Removed in LÖVE 0.6.1
This function is not supported in that and later versions.

Returns a 16-bit integer representing the masked categories. A set bit means that a collision occurs with members of that category.

Function

Synopsis

mask = Shape:getMaskBits( )

Arguments

None.

Returns

number mask
An integer value representing the mask.

See Also

Other Languages