Options
All
  • Public
  • Public/Protected
  • All
Menu

Class used to explode meshes (ie. to have a center and move them away from that center to better see the overall organization)

Hierarchy

  • MeshExploder

Index

Constructors

  • Explodes meshes from a center mesh.

    Parameters

    • meshes: Mesh[]

      The meshes to explode.

    • Optional centerMesh: Mesh

      The mesh to be center of explosion.

    Returns MeshExploder

Methods

  • explode(direction?: number): void
  • Explodes meshes giving a specific direction

    Parameters

    • Optional direction: number

      Number to multiply distance of each mesh's origin from center. Use a negative number to implode, or zero to reset.

    Returns void

  • getClassName(): string
  • Get class name

    Returns string

    "MeshExploder"

  • "Exploded meshes"

    Returns Mesh[]

    Array of meshes with the centerMesh at index 0.

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited constructor
  • Static method

Settings

Theme