spacekit
    Preparing search index...

    Class StaticParticles

    Simulates a static particle field in whichever base reference the simulation is in.

    Implements

    Index
    • Parameters

      • id: string

        Unique ID for this object

      • points: Coordinate3d[]

        an array of X,Y,Z cartesian points, one for each particle

      • options: StaticParticleOptions

        container

        • defaultColor

          color to use for all particles can be a THREE string color name or hex value

        • size

          the size of each particle

      • simulation: Simulation

        Simulation object

      Returns StaticParticles

    • A list of THREE.js objects that are used to compose the particle system.

      Returns Object3D<Object3DEventMap>[]

      Point geometry

    • Get the unique ID of this object.

      Returns string

      id

    • Returns void