public final class WeightMeshSpawnShapeValue extends MeshSpawnShapeValue
MeshSpawnShapeValue.Triangle
xOffsetValue, yOffsetValue, zOffsetValue
active
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, setMesh
read, spawn, start, write
isActive, setActive
public WeightMeshSpawnShapeValue(WeightMeshSpawnShapeValue value)
public WeightMeshSpawnShapeValue()
public void init()
init
in class SpawnShapeValue
public void calculateWeights()
public void spawnAux(Vector3 vector, float percent)
spawnAux
in class SpawnShapeValue
public SpawnShapeValue copy()
copy
in class SpawnShapeValue
Copyright © 2015. All rights reserved.