Package org.pollux3d.menu

Examples of org.pollux3d.menu.CircleMarker


    this.size = size;
    genPlanet();
    // make planet clickable
    Pollux.get().getGeometryManager().registerGeometry(planet, this);
    if (mark) {
      marker = new CircleMarker(size/2+10);
      hideMark();
      this.attachChild(marker);
    }
  }
View Full Code Here


    super(name);
    assetManager = Pollux.get().getAssetManager();
    mesh = (Node) assetManager.loadModel(modelPath);
    mesh.rotate(0, FastMath.PI, 0);
    this.attachChild(mesh);
    marker = new CircleMarker(8);
    marker.hideMark();
    this.attachChild(marker);
    registerGeometries();
  }
View Full Code Here

    this.assetManager = Pollux.get().getAssetManager();
    genSunClickGeo();
    this.attachChild(getEmitter("part_"+name));
    Pollux.get().getGeometryManager().registerGeometry(sun, this);
    this.attachChild(sun);
    marker = new CircleMarker(size*0.8f, size*0.02f, ColorRGBA.White);
    //marker.rotate(0, FastMath.PI, FastMath.PI);
    //marker.hide();
    //marker = new QuadMarker(size);
    this.attachChild((Spatial)marker);
  }
View Full Code Here

TOP

Related Classes of org.pollux3d.menu.CircleMarker

Copyright © 2018 www.massapicom. 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.