Skip to content

PlanarReflectorEntityTemplate

16.1

Class Documentation

Edit documentation

An entity template that places a planar reflection region: a polygon on the map and flags that select what the reflection pass draws into it. It creates a plain GameEntity. The reflector takes part in the reflection pass only while the entity is active.

The entity is local: it activates at map load when 0xbbe68da1 is true.

Properties

PlanarReflector

Embed<PlanarReflectorGeComponentDef>
Default value
{
  "RenderEnvironment": true,
  "RenderSunShadow": false,
  "Polygon": {
    "Smooth": false,
    "Vertices": [
      [-200, 0, -200],
      [200, 0, -200],
      [200, 0, 200],
      [-200, 0, 200]
    ]
  },
  "ForceOn": false,
  "DynamicLighting": false,
  "SSAO": false,
  "PercentageResolution": 100,
  "RenderParticles": true,
  "SkyboxTexture": "0x0"
}
Edit documentation

The reflection region and its settings. See PlanarReflectorGeComponentDef.