#include <types.hpp>
◆ ColliderComponent() [1/3]
| phys2d::ColliderComponent::ColliderComponent |
( |
| ) |
|
◆ ColliderComponent() [2/3]
| phys2d::ColliderComponent::ColliderComponent |
( |
const BodyShape & |
st | ) |
|
◆ ColliderComponent() [3/3]
template<typename Geometry >
◆ getAABB()
getter for accessing the AABB object
- Parameters
-
| tc | transform component for getting position, rotation, scaling |
- Return values
-
◆ getCircle() [1/2]
getter for accessing the CircleGeometry data
- Parameters
-
- Return values
-
| pointer | to the geometry type |
◆ getCircle() [2/2]
getter for accessing the CircleGeometry data
- Parameters
-
- Return values
-
| pointer | to the geometry type |
◆ getPolygon() [1/2]
getter for accessing the PolygonGeometry data
- Parameters
-
- Return values
-
| pointer | to the geometry type |
◆ getPolygon() [2/2]
getter for accessing the PolygonGeometry data
- Parameters
-
- Return values
-
| pointer | to the geometry type |
◆ categoryBits
bitmask that shows the type of the object, used for collision filtering
◆ isTrigger
flag that shows whether the object is trigger zone
◆ localOffset
local offset of the center of the object
◆ maskBits
| uint32_t phys2d::ColliderComponent::maskBits |
Initial value:=
constexpr uint32_t All
Definition types.hpp:238
bitmask, shows the types that the object can collide with
◆ shapeData
| ShapeData phys2d::ColliderComponent::shapeData |
shape data: vertices, radius, borders etc
◆ shapeType
| BodyShape phys2d::ColliderComponent::shapeType |
shape of the object: polygon, circle, segment etc
The documentation for this struct was generated from the following file:
- /home/runner/work/Cheese-Engine/Cheese-Engine/inc/types.hpp