Skip to main content

Interface: TerrainMeshDefaultedOptions

Defined in: rendering/terrain/components/terrain-mesh-component.ts:23

Fields of TerrainMeshEcsComponent with a sensible default; callers may omit these.

Extended by​

Properties​

category​

category: number

Defined in: rendering/terrain/components/terrain-mesh-component.ts:30

A bitmask matched against each camera's cullingMask (matchesMask), the same convention Renderable.category uses for sprites, to decide whether a given camera draws this terrain mesh. Defaults to 0xffffffff (every camera).