Difference between revisions of "Shape:getMaskBits"
(Added see also links, broken(?) example) |
(Added Removed in 0.6.2 warning) |
||
Line 1: | Line 1: | ||
+ | {{oldin|[[0.6.1]]|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. | ||
− | |||
− | |||
== Function == | == Function == | ||
=== Synopsis === | === Synopsis === | ||
Line 12: | Line 11: | ||
=== Returns === | === Returns === | ||
{{param|number|mask|An integer value representing the mask.}} | {{param|number|mask|An integer value representing the mask.}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== See Also == | == See Also == | ||
* [[parent::Shape]] | * [[parent::Shape]] |
Revision as of 15:55, 22 October 2010
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.