Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ObjectsPositioning

Index

Methods

Methods

Static adjustObjects

  • adjustObjects(objects: Array<Object3D>, horizontal: boolean, spaceBetween: number, maxAdjustedSize?: number): void
  • Function sets objects positions that way, so objects are wrapped in column or row

    Parameters

    • objects: Array<Object3D>

      Objects to wrap

    • horizontal: boolean

      Objects needed to wrap horizontally?

    • spaceBetween: number

      Margin between objects

    • Default value maxAdjustedSize: number = 9999999999999

    Returns void

Legend

  • Namespace
  • Object literal
  • Variable
  • Function
  • Type alias
  • Type alias with type parameter
  • Class
  • Class with type parameter
  • Enumeration
  • Interface
  • Static method

Generated using TypeDoc