Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • DimensionServiceManager

Index

Constructors

constructor

Methods

Static createVector3FromArray

  • createVector3FromArray(arr: [number, number, number]): Vector3
  • Creates Vector3 from array efficiently

    Parameters

    • arr: [number, number, number]

    Returns Vector3

Static generateId

  • generateId(type: string): string
  • Generates unique IDs for dimensions using a counter-based approach

    Parameters

    • type: string

    Returns string

Static getDimensionMaterial

  • getDimensionMaterial(scene: Scene, color: string, materialType?: "line" | "arrow"): StandardMaterial
  • Creates a fresh material for dimension elements No caching to avoid issues with disposed materials and external scene cleanup

    Parameters

    • scene: Scene
    • color: string
    • Optional materialType: "line" | "arrow"

    Returns StandardMaterial

Generated using TypeDoc