APIdia Launch Partner
Top Description Fields Constructors Methods
com.badlogic.gdx.graphics.g3d.particles.values

public final Class UnweightedMeshSpawnShapeValue

extends MeshSpawnShapeValue
Class Inheritance
Imports
com.badlogic.gdx.graphics.Mesh, .VertexAttributes.Usage, com.badlogic.gdx.graphics.g3d.Model, com.badlogic.gdx.math.MathUtils, .Vector3

Encapsulate the formulas to spawn a particle on a mesh shape.
Author
Inferno

Field Summary

Modifier and TypeField and Description
private short[]
private int
private int
private int
private int
private float[]
Inherited from com.badlogic.gdx.graphics.g3d.particles.values.MeshSpawnShapeValue:
meshmodel

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public SpawnShapeValue
public void
public void
Inherited from com.badlogic.gdx.graphics.g3d.particles.values.MeshSpawnShapeValue:
loadloadsavesetMesh

Field Detail

indicesback to summary
private short[] indices
positionOffsetback to summary
private int positionOffset
triangleCountback to summary
private int triangleCount
vertexCountback to summary
private int vertexCount
vertexSizeback to summary
private int vertexSize
verticesback to summary
private float[] vertices

Constructor Detail

UnweightedMeshSpawnShapeValueback to summary
public UnweightedMeshSpawnShapeValue(UnweightedMeshSpawnShapeValue value)
UnweightedMeshSpawnShapeValueback to summary
public UnweightedMeshSpawnShapeValue()

Method Detail

copyback to summary
public SpawnShapeValue copy()

Implements abstract com.badlogic.gdx.graphics.g3d.particles.values.SpawnShapeValue.copy.

Annotations
@Override
setMeshback to summary
public void setMesh(Mesh mesh, Model model)

Overrides com.badlogic.gdx.graphics.g3d.particles.values.MeshSpawnShapeValue.setMesh.

Annotations
@Override
spawnAuxback to summary
public void spawnAux(Vector3 vector, float percent)

Implements abstract com.badlogic.gdx.graphics.g3d.particles.values.SpawnShapeValue.spawnAux.

Annotations
@Override