Difference between revisions of "Shape:getMaskBits"

m (1 revision: Imported docs from potato.)
Line 1: Line 1:
  
 
+
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 13: Line 14:
 
* [[parent::Shape]]
 
* [[parent::Shape]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=}}
+
{{#set:Description=Returns a 16-bit integer representing the masked categories.
 +
}}

Revision as of 16:17, 14 February 2010

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