ezEngine Release 26.9
Loading...
Searching...
No Matches
ezTerrainPatchColliderMode Struct Reference

#include <TerrainSystem.h>

Inheritance diagram for ezTerrainPatchColliderMode:

Public Types

enum  Enum : ezUInt8 {
  None = 0 , FullResolution = 1 , HalfResolution = 2 , QuarterResolution = 4 ,
  EighthResolution = 8 , Default = QuarterResolution
}
 
using StorageType = ezUInt8
 

Detailed Description

Vertex sampling stride for the heightfield patch collision mesh. The enumerator value equals the vertex stride (skip factor) used when sub-sampling full-resolution data.

Member Enumeration Documentation

◆ Enum

Enumerator
None 

No collision shape is generated.

FullResolution 

Collision mesh matches the render resolution.

HalfResolution 

Samples every second vertex — 1/4 the triangles of full resolution.

QuarterResolution 

Samples every fourth vertex — 1/16 the triangles of full resolution.

EighthResolution 

Samples every eighth vertex — 1/64 the triangles of full resolution.


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