Bitbybit Docs
    Bereite Suchindex vor...

    Klasse DimensionServiceManager

    Manages shared services and utilities for all dimension classes. Provides singleton pattern for occlusion services and shared utilities.

    Index

    Konstruktoren

    Methoden

    • Generates unique IDs for dimensions using a counter-based approach

      Parameter

      • type: string

      Rückgabewert string

    • Creates Vector3 from array efficiently

      Parameter

      • arr: [number, number, number]

      Rückgabewert Vector3

    • Creates a fresh material for dimension elements No caching to avoid issues with disposed materials and external scene cleanup

      Parameter

      • scene: Scene
      • color: string
      • OptionalmaterialType: "line" | "arrow"

      Rückgabewert StandardMaterial