Table of Contents

Method GetLayerWeights

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

GetLayerWeights(List<TerrainLayer>, List<RenderTexture>)

Copies the stored terrain layers and weight textures into caller-provided lists.

public void GetLayerWeights(List<TerrainLayer> layers, List<RenderTexture> weights)

Parameters

layers List<TerrainLayer>

Destination list that receives terrain layers.

weights List<RenderTexture>

Destination list that receives weight textures.

Remarks

The destination lists are cleared before data is appended. Indices in layers and weights are guaranteed to match.