Changes between Version 2 and Version 3 of Scripting/Example1


Ignore:
Timestamp:
11/17/19 18:52:00 (4 years ago)
Author:
admin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Scripting/Example1

    v2 v3  
    2929
    3030// Apply the Frost layer above 120, again using the same height map as input
    31 var frostLayer = wp.getLayer().name('Frost').go();
     31var frostLayer = wp.getLayer().withName('Frost').go();
    3232wp.applyHeightMap(heightMap)
    3333        .toWorld(world)