StevEngine
StevEngine is a customizable C++ game engine.
Loading...
Searching...
No Matches
StevEngine::Physics::Layer Class Reference

Physics collision layer. More...

#include <physics/Layers.hpp>

Public Member Functions

 Layer (const Layer &copy)
 Copy physics layer.
 

Public Attributes

const bool isStatic
 Whether objects are static.
 
const LayerID id
 Unique layer ID.
 
const JPH::BroadPhaseLayer BroadPhaseLayer
 Broad phase settings.
 

Friends

class LayerManager
 

Detailed Description

Physics collision layer.

Defines collision filtering and broad phase settings for physics objects. Controls which objects can collide with each other.

Constructor & Destructor Documentation

◆ Layer()

StevEngine::Physics::Layer::Layer ( const Layer & copy)

Copy physics layer.

Parameters
copyLayer to copy

The documentation for this class was generated from the following files: