Spec-Zone.ru › LÖVE

Shape:getCategory

Removed in LÖVE 0.8.0
Use Fixture:setCategory instead.


Gets the categories this shape is a member of. The number of categories the shape is a member of is the number of return values. Categories are used for allowing/disallowing certain collision.

Function

Synopsis

... = Shape:getCategory( )

Arguments

None.

Returns

numbers ...
Numbers from 1-16.

See Also

  • Shape


© 2006–2020 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/Shape:getCategory

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API