Package com.badlogic.gdx.graphics.g3d.model

Examples of com.badlogic.gdx.graphics.g3d.model.NodePart


  /** Adds the specified MeshPart to the current Node. The Mesh will be managed by the model and disposed when the model is
   * disposed. The resources the Material might contain are not managed, use {@link #manage(Disposable)} to add those to the
   * model. */
  public void part (final MeshPart meshpart, final Material material) {
    if (node == null) node();
    node.parts.add(new NodePart(meshpart, material));
  }
View Full Code Here


    meshPart.indexOffset = indexOffset;
    meshPart.numVertices = vertexCount;
    meshPart.primitiveType = primitiveType;
    meshPart.mesh = mesh;

    NodePart partMaterial = new NodePart();
    partMaterial.material = material;
    partMaterial.meshPart = meshPart;
    Node node = new Node();
    node.id = "node1";
    node.parts.add(partMaterial);
View Full Code Here

  /** Adds the specified MeshPart to the current Node. The Mesh will be managed by the model and disposed when the model is
   * disposed. The resources the Material might contain are not managed, use {@link #manage(Disposable)} to add those to the
   * model. */
  public void part (final MeshPart meshpart, final Material material) {
    if (node == null) node();
    node.parts.add(new NodePart(meshpart, material));
  }
View Full Code Here

    meshPart.indexOffset = indexOffset;
    meshPart.numVertices = vertexCount;
    meshPart.primitiveType = primitiveType;
    meshPart.mesh = mesh;

    NodePart partMaterial = new NodePart();
    partMaterial.material = material;
    partMaterial.meshPart = meshPart;
    Node node = new Node();
    node.id = "node1";
    node.parts.add(partMaterial);
View Full Code Here

TOP

Related Classes of com.badlogic.gdx.graphics.g3d.model.NodePart

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.