Difference between revisions of "Shape:getMaskBits"

m (1 revision: Importing from potato (again).)
(I was told in the forum this has been removed, note to that effect)
Line 1: Line 1:
 
 
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.
 +
 +
N.B. This function is no longer available in LÖVE version 0.6.1.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===

Revision as of 18:22, 26 February 2010

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

N.B. This function is no longer available in LÖVE version 0.6.1.

Function

Synopsis

mask = Shape:getMaskBits( )

Arguments

None.

Returns

number mask
An integer value representing the mask.

See Also