Interface: TerrainMeshEcsComponent
Defined in: rendering/terrain/components/terrain-mesh-component.ts:33
Fields of TerrainMeshEcsComponent with no sensible default; callers must always provide these.
Extends
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).
Inherited from
TerrainMeshDefaultedOptions.category
mesh
mesh:
TerrainMesh
Defined in: rendering/terrain/components/terrain-mesh-component.ts:16
The mesh built by createTerrainMesh for this entity's terrain. Its
vertex data is already baked into world space at build time (see
createTerrainMesh), so createTerrainRenderEcsSystem draws it as-is,
without reading this entity's own position/rotation.