Exemple #1
0
 public async Task RemoveTextureLayer()
 {
     await this.session.SendAction(this.session.GetTunnelSendRequest(TerrainTextureLayer.GetDeleteLayerJsonObject(this.NodeId)));
 }
Exemple #2
0
        public async Task AddTextureLayer(string diffuse, string normal, float minHeight, float maxHeight, float fadeDistance)
        {
            TerrainTextureLayer terrainTextureLayer = new TerrainTextureLayer(this.NodeId, diffuse, normal, minHeight, maxHeight, fadeDistance);

            await this.session.SendAction(this.session.GetTunnelSendRequest(terrainTextureLayer.GetAddLayerJsonObject()));
        }