Implements

  • unknown

Constructors

Properties

meshRenderer?: MeshRenderer

When assigned and shapeType is set to MeshRenderer particles will spawn using a mesh in the scene.
Use the meshShapeType to choose if particles should be spawned from vertices, faces or edges
To re-assign use the setMesh function to cache the mesh and geometry

meshShapeType?: ParticleSystemMeshShapeType

Controls if particles should spawn off vertices, faces or edges. shapeType must be set to MeshRenderer

Accessors

  • get type(): string
  • Returns string

Methods

  • Returns EmitterShape

  • Parameters

    • particle: Particle
    • pos: Vec3

    Returns Vector3

  • Parameters

    • particle: Particle

    Returns void

  • Parameters

    • particle: Particle

    Returns void

  • Returns ShapeJSON

  • Parameters

    • system: IParticleSystem
    • _context: Context
    • simulationSpace: ParticleSystemSimulationSpace
    • obj: Object3D

    Returns void

Generated using TypeDoc