Table of Contents

Method OnCollectSceneTextureWeight

Namespace
Pinwheel.Vista
Assembly
Pinwheel.Vista.Runtime.dll

OnCollectSceneTextureWeight(TerrainLayer, RenderTexture, Rect)

Draws this tile's weight for the requested terrain layer into a destination representing a world-space rectangle. Tiles that do not contain an equivalent layer leave the destination unchanged.

void OnCollectSceneTextureWeight(TerrainLayer terrainLayer, RenderTexture targetRt, Rect requestedWorldRect)

Parameters

terrainLayer TerrainLayer
targetRt RenderTexture
requestedWorldRect Rect