ezEngine Release 25.08
Loading...
Searching...
No Matches
ezJoltBreakableSlabFlags Struct Reference

Flags that define which edges of a breakable slab are fixed/anchored in the world. A fixed edge means that shards adjacent to that edge will remain stationary and not fall under gravity. More...

#include <JoltBreakableSlabComponent.h>

Classes

struct  Bits
 

Public Types

enum  Enum {
  FixedEdgeTop = EZ_BIT(0) , FixedEdgeRight = EZ_BIT(1) , FixedEdgeBottom = EZ_BIT(2) , FixedEdgeLeft = EZ_BIT(3) ,
  Default = FixedEdgeTop | FixedEdgeRight | FixedEdgeBottom | FixedEdgeLeft
}
 
using StorageType = ezUInt8
 

Detailed Description

Flags that define which edges of a breakable slab are fixed/anchored in the world. A fixed edge means that shards adjacent to that edge will remain stationary and not fall under gravity.

Member Enumeration Documentation

◆ Enum

Enumerator
FixedEdgeTop 

Shards will stick to this edge.

FixedEdgeRight 

Shards will stick to this edge.

FixedEdgeBottom 

Shards will stick to this edge.

FixedEdgeLeft 

Shards will stick to this edge.


The documentation for this struct was generated from the following file: