Home | All Classes | Grouped Classes | Index | Search
Collision detection outline. More...
Derived from:
none
Derived by:
none
Group: Display (Collision)
#include <ClanLib/display.h>
Construction:
Construct a collision outline. |
Attributes:
Returns the contour used as an object bounding box. (an rotated rectangle) | |
Returns the radius of the outline. | |
Returns true if object bounding box test is used. | |
Returns true if completely-inside test is used. | |
Returns the contours in the outline. | |
Returns the position of the outline. | |
Returns the scaling factor. | |
Returns the rotation angle. | |
Returns the width of the image this outline was created from. | |
Returns the height of the image this outline was created from. | |
Get the translation origin and hotspot of the outline. | |
Get the rotation hotspot of the outline. | |
Return the points of collision found in the last collision test. |
Operations:
Optimize the outline by removing redundant points. | |
Set the translation hotspot of the outline. | |
Set the rotation hotspot of the outline. | |
Set the position of the outline. | |
Set the scale of the outline. | |
Set the angle (in degrees) of the outline. | |
Rotate the outline by angle (in degrees). | |
Set to true if obb test should be done | |
Set to true if completely-inside test should be done | |
Enable collision info gathering. | |
Enable collision info about normals. Only works when collision_info is also enabled. | |
(Re)calculate the radius of the outline. | |
(Re)calculate the subcircle segmentation of the outline. | |
Write the outline to a file. | |
Returns true if outlines overlap | |
Returns true if a point is inside the outline. |
Detailed description:
!group=Display/Collision ! !header=display.h!A collision outline is used in collision detection