bitbybit.dev v1.0.0-rc.1
    Preparing search index...

    Class DimensionServiceManager

    Index

    Constructors

    Methods

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

      Parameters

      • type: string

      Returns string

    • Creates Vector3 from array efficiently

      Parameters

      • arr: [number, number, number]

      Returns Vector3

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

      Parameters

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

      Returns StandardMaterial