This class is made to control the broadphase layer. Filters can be added to it to create a better and more organized broadphase. Ass well as giving some control to the user on how the broadphase should be organized. This requires dynamic masking however, which is not currently running.
More...
#include <jolt_broad_phase.hpp>
|
| uint32_t | GetNumBroadPhaseLayers () const override |
| | Get the Number of layers that exsist in the current context. Static for now.
|
| |
| JPH::BroadPhaseLayer | GetBroadPhaseLayer (JPH::ObjectLayer p_in_layer) const override |
| | Gives the caller access to the broadphase object. Allowing for some manipulation on how those interactions may go. Including but not limited to changing the filtering of the broadphase or reorganizing the oct-tree.
|
| |
This class is made to control the broadphase layer. Filters can be added to it to create a better and more organized broadphase. Ass well as giving some control to the user on how the broadphase should be organized. This requires dynamic masking however, which is not currently running.
◆ GetBroadPhaseLayer()
| JPH::BroadPhaseLayer atlas::physics::broad_phase_layer_interface::GetBroadPhaseLayer |
( |
JPH::ObjectLayer |
p_in_layer | ) |
const |
|
inlineoverride |
Gives the caller access to the broadphase object. Allowing for some manipulation on how those interactions may go. Including but not limited to changing the filtering of the broadphase or reorganizing the oct-tree.
- Parameters
-
| p_in_layer | The layer that the player wants. |
- Returns
- JPH::BroadPhaseLayer Object to organize and manipulate the oct-tree for that layer.
◆ GetNumBroadPhaseLayers()
| uint32_t atlas::physics::broad_phase_layer_interface::GetNumBroadPhaseLayers |
( |
| ) |
const |
|
inlineoverride |
Get the Number of layers that exsist in the current context. Static for now.
- Returns
- uint32_t
The documentation for this class was generated from the following file: