Difference between revisions of "Shape:getMaskBits"

m (included link to other languages)
Line 1: Line 1:
{{oldin|[[0.6.1]]|type=function}}
+
{{oldin|[[0.6.1]]|061|type=function}}
 
Returns a 16-bit integer representing the masked categories.  
 
Returns a 16-bit integer representing the masked categories.  
 
A set bit means that a collision occurs with members of that category.
 
A set bit means that a collision occurs with members of that category.
Line 16: Line 16:
 
* [[Shape:setMask]]
 
* [[Shape:setMask]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Returns a 16-bit integer representing the masked categories.  
+
{{#set:Description=Returns a 16-bit integer representing the masked categories.}}
}}
+
{{#set:Since=000}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|Shape:getMaskBits}}
 
{{i18n|Shape:getMaskBits}}

Revision as of 10:50, 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