Examples of withAddedLayers()


Examples of org.osm2world.core.target.common.material.Material.withAddedLayers()

      Material surface = getSurfaceForNode(node);
     
      if (node.getTags().contains("crossing", "zebra")
          || node.getTags().contains("crossing_ref", "zebra")) {
       
        surface = surface.withAddedLayers(
            ROAD_MARKING_ZEBRA.getTextureDataList());
       
      } else if (!node.getTags().contains("crossing", "unmarked")) {

        surface = surface.withAddedLayers(
View Full Code Here

Examples of org.osm2world.core.target.common.material.Material.withAddedLayers()

        surface = surface.withAddedLayers(
            ROAD_MARKING_ZEBRA.getTextureDataList());
       
      } else if (!node.getTags().contains("crossing", "unmarked")) {

        surface = surface.withAddedLayers(
            ROAD_MARKING_CROSSING.getTextureDataList());
       
      }
     
      /* draw crossing */
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.