public final class WeightMeshSpawnShapeValue extends MeshSpawnShapeValue
MeshSpawnShapeValue.Trianglemesh, modelxOffsetValue, yOffsetValue, zOffsetValueactive| Constructor and Description |
|---|
WeightMeshSpawnShapeValue() |
WeightMeshSpawnShapeValue(WeightMeshSpawnShapeValue value) |
| Modifier and Type | Method and Description |
|---|---|
void |
calculateWeights()
Calculate the weights of each triangle of the wrapped mesh.
|
SpawnShapeValue |
copy() |
void |
init() |
void |
spawnAux(Vector3 vector,
float percent) |
load, load, save, setMesh, setMeshread, spawn, start, writeisActive, setActivepublic WeightMeshSpawnShapeValue(WeightMeshSpawnShapeValue value)
public WeightMeshSpawnShapeValue()
public void init()
init in class SpawnShapeValuepublic void calculateWeights()
public void spawnAux(Vector3 vector, float percent)
spawnAux in class SpawnShapeValuepublic SpawnShapeValue copy()
copy in class SpawnShapeValue