Options
All
  • Public
  • Public/Protected
  • All
Menu
deprecated

math 相关类型已经拆分之独立库中,请直接从独立库中导入相关变量。

example
import { Vector3, Matrix } from '@sheencity/diva-sdk'      // 旧
import { Vector3, Matrix } from '@sheencity/diva-sdk-math' // 新

Hierarchy

  • CefAdapter

Implements

Index

Constructors

Accessors

Methods

Constructors

constructor

  • new CefAdapter(element: HTMLElement): CefAdapter
  • Parameters

    • element: HTMLElement

    Returns CefAdapter

Accessors

messageBus

  • get messageBus(): Observable<IParsedObject>

Methods

emitDivaCommand

  • emitDivaCommand(descriptor: IJsonRpcType | IJsonRpcType[]): void
  • 发送 DIVA 命令。

    +-------+--+--+=========================================+
    | TP:50 | LEN | ...LEN bytes of UTF8 encoded COMMAND... |
    +-------+--+--+=========================================+
    

    Parameters

    • descriptor: IJsonRpcType | IJsonRpcType[]

      命令

    Returns void

load

  • load(): Promise<void>