/** Adds the specified mesh part 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.
* @return The added MeshPart. */
public MeshPart part (final String id, final Mesh mesh, int primitiveType, int offset, int size, final Material material) {
final MeshPart meshPart = new MeshPart();
meshPart.id = id;
meshPart.primitiveType = primitiveType;
meshPart.mesh = mesh;
meshPart.indexOffset = offset;
meshPart.numVertices = size;