@kognifai/cogsengine
    Preparing search index...

    Interface NotificationsInternal

    Cogs internal notifications API

    interface NotificationsInternal {
        Image360?: Image360Notifications;
        OGC3DTiles?: OGC3DTilesNotifications;
        Potree?: PotreeNotifications;
        componentNotify(
            componentId: number,
            entityId: number,
            message: number,
            data: ArrayBufferView<ArrayBufferLike>,
        ): void;
        initialize(settings: ControlSettings): void;
        onEntityDestroyed(entity: Entity): void;
        unsubscribe(subscription: NotificationSubscription): void;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Subscription endpoints for the Image360Component.

    Subscription endpoints for the OGC3DTilesComponent.

    Subscription endpoints for the PotreeComponent.

    Methods

    • CogsInternal: Invoked by the component notify callback passed to cogs.core.

      Parameters

      • componentId: number
      • entityId: number
      • message: number
      • data: ArrayBufferView<ArrayBufferLike>

      Returns void

    • CogsInternal: Invoked by the runtime when engine is initialized.

      Parameters

      Returns void

    • CogsInternal: Invoked when an entity is destroyed, destroys all subscriptions for that entity.

      Parameters

      Returns void