Examples of load()


Examples of com.ardor3d.extension.model.obj.ObjImporter.load()

            importer.setTextureLocator(new SimpleResourceLocator(ResourceLocatorTool.getClassPathResource(
                    SimpleObjExample.class, "OBJ/")));
        } catch (final URISyntaxException ex) {
            ex.printStackTrace();
        }
        final ObjGeometryStore storage = importer.load("OBJ/tree1.obj");

        //attachChild(storage.getScenegraph());

        final BlendState blendState = new BlendState();
        blendState.setBlendEnabled(true);
View Full Code Here

Examples of com.ardor3d.util.export.binary.BinaryImporter.load()

                String resource = closest.source + ".a3d";
                URL url = ResourceLocatorTool.getClassPathResource(BMFontProvider.class, resource);
                try {
                    if (url != null) {
                        final BinaryImporter binaryImporter = new BinaryImporter();
                        closest.bmFont = (BMFont) binaryImporter.load(url);
                    } else {
                        // Not found, load from .fnt
                        resource = closest.source + ".fnt";
                        url = ResourceLocatorTool.getClassPathResource(BMFontProvider.class, resource);
                        closest.bmFont = new BMFont(new URLResourceSource(url), false);
View Full Code Here

Examples of com.arjuna.common.util.propertyservice.PropertyManager.load()

       * loaded, subsequent attempts to reload are ignored internally.
       */
 
      try
      {
        propertyManager.load(XMLFilePlugin.class.getName(), propertiesFilename);
      }
      catch (LoadPropertiesException ex)
      {
        _logger.fatal("ModulePropertyManager failed to load property file "+propertiesFilename);
       
View Full Code Here

Examples of com.arjuna.common.util.propertyservice.plugins.PropertyManagerIOPlugin.load()

      String classname = System.getProperty(Environment.OVERRIDING_PLUGIN_CLASSNAME);
      classname = classname == null ? pluginClassname : classname;

      PropertyManagerIOPlugin plugin = (PropertyManagerIOPlugin)Thread.currentThread().getContextClassLoader().loadClass(classname).newInstance();

      plugin.load(uri, _topLevelPropertyManager, _verbose);
    }
    catch (java.io.IOException e)
    {
      throw e;
    }
View Full Code Here

Examples of com.asakusafw.compiler.flow.DataClassRepository.load()

        ShuffleKey keyInfo = desciption.getKeyInfo();

        Type inputType = input.getDescription().getDataType();

        DataClassRepository dataClasses = environment.getDataClasses();
        DataClass source = dataClasses.load(inputType);
        DataClass target = dataClasses.load(desciption.getOutputType());
        if (source == null) {
            error("データクラス{0}は定義されていません", inputType);
        }
        if (target == null) {
View Full Code Here

Examples of com.avaje.ebeaninternal.server.deploy.BeanProperty.load()

      // need to get a 'local' version of the property
      for (int i = 0, x = properties.length; i < x; i++) {
        // get a local version of the BeanProperty
        BeanProperty p = localDesc.getBeanProperty(properties[i].getName());
        if (p != null) {
          p.load(sqlBeanLoad);
        } else {
          properties[i].loadIgnore(ctx);
        }
      }
    }
View Full Code Here

Examples of com.badlogic.gdx.graphics.Texture.load()

  public Texture loadSync (AssetManager manager, String fileName, FileHandle file, TextureParameter parameter) {
    if (info == null)
      return null;
    Texture texture = info.texture;
    if (texture != null) {
      texture.load(info.data);
    } else {
      texture = new Texture(info.data);
    }
    if (parameter != null) {
      texture.setFilter(parameter.minFilter, parameter.magFilter);
View Full Code Here

Examples of com.badlogic.gdx.graphics.g2d.ParticleEffect.load()

  @Override
  public ParticleEffect load (AssetManager am, String fileName, FileHandle file, ParticleEffectParameter param) {
    ParticleEffect effect = new ParticleEffect();
    if (param != null && param.atlasFile != null)
      effect.load(file, am.get(param.atlasFile, TextureAtlas.class), param.atlasPrefix);
    else if (param != null && param.imagesDir != null)
      effect.load(file, param.imagesDir);
    else
      effect.load(file, file.parent());
    return effect;
View Full Code Here

Examples of com.badlogic.gdx.graphics.g3d.particles.ResourceData.SaveData.load()

  public void load (AssetManager manager, ResourceData data) {
    SaveData saveData = data.getSaveData();
    AssetDescriptor descriptor = saveData.loadAsset();
    if(descriptor!=null){
      Model model = (Model) manager.get(descriptor);
      setMesh(model.meshes.get((Integer)saveData.load("index")), model);
    }
  }

}
View Full Code Here

Examples of com.badlogic.gdx.graphics.g3d.particles.values.SpawnShapeValue.load()

      local = cylinderSpawnShapeValue;
    if(spawnShapeValue instanceof UnweightedMeshSpawnShapeValue)
      local = meshSpawnShapeValue;
    else if(spawnShapeValue instanceof WeightMeshSpawnShapeValue)
      local = weightMeshSpawnShapeValue;
    local.load(spawnShapeValue);
  }
 
  protected void setSpawnShapeValue(SpawnShapeValue spawnShapeValue){
    xPanel.setValue(spawnShapeValue.xOffsetValue);
    yPanel.setValue(spawnShapeValue.yOffsetValue);
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.