List of usage examples for com.badlogic.gdx.graphics.g3d.model NodePart NodePart
public NodePart(final MeshPart meshPart, final Material material)
From source file:gaia.cu9.ari.gaiaorbit.util.g3d.ModelBuilder2.java
License:Apache License
/** 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. *//*from w w w . j av a2s .c o m*/ public void part(final MeshPart meshpart, final Material material) { if (node == null) node(); node.parts.add(new NodePart(meshpart, material)); }