ModelShape constructor

ModelShape(
  1. num id,
  2. List<Vector3> shape,
  3. List<num> indices,
  4. List<num> normals,
  5. List<num> colors,
  6. List<num> shapeUV,
  7. void posFunction(
    1. SolidParticle particle,
    2. num i,
    3. num s
    ),
  8. void vtxFunction(
    1. SolidParticle particle,
    2. Vector3 vertex,
    3. num i
    ),
  9. Material material,
)

Implementation

external ModelShape(num id, List<Vector3> shape, List<num> indices, List<num> normals, List<num> colors, List<num> shapeUV, void Function(SolidParticle particle, num i, num s) posFunction, void Function(SolidParticle particle, Vector3 vertex, num i) vtxFunction, Material material);