|
ClanLib
2.3.7
|
Base for Collidable Sprite class. Not yet implemented, except for some helper functions. More...
#include <collidable_sprite.h>
Static Public Member Functions | |
| static CL_CollisionOutline | create_collision_outline (CL_GraphicContext &gc, const CL_StringRef &resource_id, CL_ResourceManager *resources, int alpha_limit=128, CL_OutlineAccuracy accuracy=accuracy_medium) |
| Create the collision outlines from the sprites resource. More... | |
| static std::vector < CL_CollisionOutline > | create_collision_outlines (CL_GraphicContext &gc, const CL_StringRef &resource_id, CL_ResourceManager *resources, int alpha_limit=128, CL_OutlineAccuracy accuracy=accuracy_medium) |
| Create the collision outlines from the sprites resource. More... | |
Base for Collidable Sprite class. Not yet implemented, except for some helper functions.
|
static |
Create the collision outlines from the sprites resource.
| resource_id | = String Ref |
| resources | = Resource Manager |
| alpha_limit | = Alpha limit for pixels considered solid (collidable) |
| accuracy | = Amount of optimization of the outline (default medium) |
|
static |
Create the collision outlines from the sprites resource.
| resource_id | = String Ref |
| resources | = Resource Manager |
| alpha_limit | = Alpha limit for pixels considered solid (collidable) |
| accuracy | = Amount of optimization of the outline (default medium) |
1.8.4