com.jme3.scene.Mesh.read()方法的使用及代码示例

x33g5p2x  于2022-01-25 转载在 其他  
字(8.1k)|赞(0)|评价(0)|浏览(104)

本文整理了Java中com.jme3.scene.Mesh.read()方法的一些代码示例,展示了Mesh.read()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Mesh.read()方法的具体详情如下:
包路径:com.jme3.scene.Mesh
类名称:Mesh
方法名:read

Mesh.read介绍

暂无

代码示例

代码示例来源:origin: jMonkeyEngine/jmonkeyengine

@Override
public void read(JmeImporter e) throws IOException {
  super.read(e);
  InputCapsule capsule = e.getCapsule(this);
  width = capsule.readFloat("width", 0);
  height = capsule.readFloat("height", 0);
}

代码示例来源:origin: jMonkeyEngine/jmonkeyengine

@Override
  public void read(JmeImporter im) throws IOException {
    super.read(im);
    InputCapsule in = im.getCapsule(this);

    start = (Vector3f) in.readSavable("startVertex", null);
    end = (Vector3f) in.readSavable("endVertex", null);
  }
}

代码示例来源:origin: jMonkeyEngine/jmonkeyengine

@Override
public void read(JmeImporter e) throws IOException {
  super.read(e);
  InputCapsule capsule = e.getCapsule(this);
  circleSamples = capsule.readInt("circleSamples", 0);
  radialSamples = capsule.readInt("radialSamples", 0);
  innerRadius = capsule.readFloat("innerRadius", 0);
  outerRadius = capsule.readFloat("outerRaidus", 0);
}

代码示例来源:origin: jMonkeyEngine/jmonkeyengine

@Override
public void read(JmeImporter e) throws IOException {
  super.read(e);
  InputCapsule capsule = e.getCapsule(this);
  planes = capsule.readInt("planes", 0);
  radialSamples = capsule.readInt("radialSamples", 0);
  radius = capsule.readFloat("radius", 0);
  center = (Vector3f) capsule.readSavable("center", Vector3f.ZERO.clone());
}

代码示例来源:origin: jMonkeyEngine/jmonkeyengine

@Override
public void read(JmeImporter e) throws IOException {
  super.read(e);
  InputCapsule capsule = e.getCapsule(this);
  xExtent = capsule.readFloat("xExtent", 0);
  yExtent = capsule.readFloat("yExtent", 0);
  zExtent = capsule.readFloat("zExtent", 0);
  center.set((Vector3f) capsule.readSavable("center", Vector3f.ZERO.clone()));
}

代码示例来源:origin: jMonkeyEngine/jmonkeyengine

@Override
public void read(JmeImporter e) throws IOException {
  super.read(e);
  InputCapsule capsule = e.getCapsule(this);
  p = capsule.readFloat("p", 0);
  q = capsule.readFloat("q", 0);
  radius = capsule.readFloat("radius", 0);
  width = capsule.readFloat("width", 0);
  steps = capsule.readInt("steps", 0);
  radialSamples = capsule.readInt("radialSamples", 0);
}

代码示例来源:origin: jMonkeyEngine/jmonkeyengine

public void read(JmeImporter e) throws IOException {
  super.read(e);
  InputCapsule capsule = e.getCapsule(this);
  zSamples = capsule.readInt("zSamples", 0);
  radialSamples = capsule.readInt("radialSamples", 0);
  radius = capsule.readFloat("radius", 0);
  useEvenSlices = capsule.readBoolean("useEvenSlices", false);
  textureMode = capsule.readEnum("textureMode", TextureMode.class, TextureMode.Original);
  interior = capsule.readBoolean("interior", false);
}

代码示例来源:origin: jMonkeyEngine/jmonkeyengine

@Override
public void read(JmeImporter e) throws IOException {
  super.read(e);
  InputCapsule capsule = e.getCapsule(this);
  axisSamples = capsule.readInt("axisSamples", 0);
  radialSamples = capsule.readInt("radialSamples", 0);
  radius = capsule.readFloat("radius", 0);
  radius2 = capsule.readFloat("radius2", 0);
  height = capsule.readFloat("height", 0);
  closed = capsule.readBoolean("closed", false);
  inverted = capsule.readBoolean("inverted", false);
}

代码示例来源:origin: org.jmonkeyengine/jme3-core

@Override
public void read(JmeImporter e) throws IOException {
  super.read(e);
  InputCapsule capsule = e.getCapsule(this);
  width = capsule.readFloat("width", 0);
  height = capsule.readFloat("height", 0);
}

代码示例来源:origin: org.jmonkeyengine/jme3-core

@Override
  public void read(JmeImporter im) throws IOException {
    super.read(im);
    InputCapsule in = im.getCapsule(this);

    start = (Vector3f) in.readSavable("startVertex", null);
    end = (Vector3f) in.readSavable("endVertex", null);
  }
}

代码示例来源:origin: info.projectkyoto/mms-engine

@Override
  public void read(JmeImporter im) throws IOException {
    super.read(im);
    InputCapsule in = im.getCapsule(this);

    start = (Vector3f) in.readSavable("startVertex", null);
    end = (Vector3f) in.readSavable("endVertex", null);
  }
}

代码示例来源:origin: org.jmonkeyengine/jme3-core

@Override
public void read(JmeImporter e) throws IOException {
  super.read(e);
  InputCapsule capsule = e.getCapsule(this);
  circleSamples = capsule.readInt("circleSamples", 0);
  radialSamples = capsule.readInt("radialSamples", 0);
  innerRadius = capsule.readFloat("innerRadius", 0);
  outerRadius = capsule.readFloat("outerRaidus", 0);
}

代码示例来源:origin: org.jmonkeyengine/jme3-core

@Override
public void read(JmeImporter e) throws IOException {
  super.read(e);
  InputCapsule capsule = e.getCapsule(this);
  p = capsule.readFloat("p", 0);
  q = capsule.readFloat("q", 0);
  radius = capsule.readFloat("radius", 0);
  width = capsule.readFloat("width", 0);
  steps = capsule.readInt("steps", 0);
  radialSamples = capsule.readInt("radialSamples", 0);
}

代码示例来源:origin: info.projectkyoto/mms-engine

@Override
public void read(JmeImporter e) throws IOException {
  super.read(e);
  InputCapsule capsule = e.getCapsule(this);
  xExtent = capsule.readFloat("xExtent", 0);
  yExtent = capsule.readFloat("yExtent", 0);
  zExtent = capsule.readFloat("zExtent", 0);
  center.set((Vector3f) capsule.readSavable("center", Vector3f.ZERO.clone()));
}

代码示例来源:origin: org.jmonkeyengine/jme3-core

public void read(JmeImporter e) throws IOException {
  super.read(e);
  InputCapsule capsule = e.getCapsule(this);
  zSamples = capsule.readInt("zSamples", 0);
  radialSamples = capsule.readInt("radialSamples", 0);
  radius = capsule.readFloat("radius", 0);
  useEvenSlices = capsule.readBoolean("useEvenSlices", false);
  textureMode = capsule.readEnum("textureMode", TextureMode.class, TextureMode.Original);
  interior = capsule.readBoolean("interior", false);
}

代码示例来源:origin: org.jmonkeyengine/jme3-core

@Override
public void read(JmeImporter e) throws IOException {
  super.read(e);
  InputCapsule capsule = e.getCapsule(this);
  xExtent = capsule.readFloat("xExtent", 0);
  yExtent = capsule.readFloat("yExtent", 0);
  zExtent = capsule.readFloat("zExtent", 0);
  center.set((Vector3f) capsule.readSavable("center", Vector3f.ZERO.clone()));
}

代码示例来源:origin: info.projectkyoto/mms-engine

public void read(JmeImporter e) throws IOException {
  super.read(e);
  InputCapsule capsule = e.getCapsule(this);
  p = capsule.readFloat("p", 0);
  q = capsule.readFloat("q", 0);
  radius = capsule.readFloat("radius", 0);
  width = capsule.readFloat("width", 0);
  steps = capsule.readInt("steps", 0);
  radialSamples = capsule.readInt("radialSamples", 0);
}

代码示例来源:origin: info.projectkyoto/mms-engine

public void read(JmeImporter e) throws IOException {
  super.read(e);
  InputCapsule capsule = e.getCapsule(this);
  axisSamples = capsule.readInt("axisSamples", 0);
  radialSamples = capsule.readInt("radialSamples", 0);
  radius = capsule.readFloat("radius", 0);
  radius2 = capsule.readFloat("radius2", 0);
  height = capsule.readFloat("height", 0);
  closed = capsule.readBoolean("closed", false);
  inverted = capsule.readBoolean("inverted", false);
}

代码示例来源:origin: org.jmonkeyengine/jme3-core

@Override
public void read(JmeImporter e) throws IOException {
  super.read(e);
  InputCapsule capsule = e.getCapsule(this);
  axisSamples = capsule.readInt("axisSamples", 0);
  radialSamples = capsule.readInt("radialSamples", 0);
  radius = capsule.readFloat("radius", 0);
  radius2 = capsule.readFloat("radius2", 0);
  height = capsule.readFloat("height", 0);
  closed = capsule.readBoolean("closed", false);
  inverted = capsule.readBoolean("inverted", false);
}

代码示例来源:origin: org.jmonkeyengine/jme3-core

@Override
public void read(JmeImporter e) throws IOException {
  super.read(e);
  InputCapsule capsule = e.getCapsule(this);
  axisSamples = capsule.readInt("axisSamples", 0);
  radialSamples = capsule.readInt("radialSamples", 0);
  radius = capsule.readFloat("radius", 0);
  radius2 = capsule.readFloat("radius2", 0);
  height = capsule.readFloat("height", 0);
  closed = capsule.readBoolean("closed", false);
  inverted = capsule.readBoolean("inverted", false);
}

相关文章