Optionalmesh: Mesh
The mesh to emit from.
OptionalmeshReferenceId: string
The id of a mesh node in the effect file, kept until the loader links it.
Optionaltransform: ShapeTransform
Offset, rotation and scale of the mesh within the system.
OptionaltransformOffset, rotation and scale of the mesh within the particle system.
The shape's type in effect files.
The mesh emitted from. Setting it reads its positions and indices; a mesh without indices is read as a triangle list (vertices 0-1-2, 3-4-5, ...), and a mesh without positions, or with no whole triangle, emits from the origin.
The mesh emitted from. Setting it reads its positions and indices; a mesh without indices is read as a triangle list (vertices 0-1-2, 3-4-5, ...), and a mesh without positions, or with no whole triangle, emits from the origin.
A copy emitting from the same mesh.
Places a new particle on the surface and sets its velocity along the triangle's front-face normal.
The shape in effect-file form; the mesh is written as its node id.
Does nothing: the shape keeps no state between steps.
StaticfromReads toJSON output; the mesh stays an id until QuarksLoader links it.
Emits from the surface of a Babylon mesh (Unity's Shape: Mesh, Unreal's Skeletal/Static Mesh Location): a point picked at random over the triangles, weighted by their area, moving along the triangle's normal out of its front face (the outside of a closed mesh) at the particle's start speed. The mesh's vertices are read once, when it is set, in the mesh's own space, and laid in the emitter's space as they are, moved by transform; moving the mesh node afterwards does not move the shape. A mesh without an index buffer is read as a plain triangle list. A shape without a mesh emits from the origin along +Z.