Fixture:getFilterData

Available since LÖVE 0.8.0
This function is not supported in earlier versions.

Returns the filter data of the fixture. Categories and masks are encoded as the bits of a 16-bit integer.

Function

Synopsis

categories, mask, group = Fixture:getFilterData( )

Arguments

None.

Returns

number categories
The categories as an integer from 0 to 65535.
number mask
The mask as an integer from 0 to 65535.
number group
The group as an integer from -32768 to 32767.

See Also


Other Languages