Skip to content

EnvMeshGeComponent

15.9

Uncategorized - no domain claims this class yet. Categorize

Inheritance 3 ancestors · 48 siblings

Class Documentation

Edit documentation

The entity component that an EnvMeshGeComponentDef adds. It binds environment meshes of the map to the entity, so that they move with it.

In .mapgeo files of version 18 and later, an environment mesh can carry the name hash of an entity. When the map geometry loads, the client finds the entity with that name and gives the mesh to the entity's EnvMesh component.

  • Activate and deactivate. The component marks the environment renderer for a rebuild.
  • Transform changed. The component moves every bound mesh and its bounds with the entity, and rebuilds the matching cells of the environment renderer.