@glowjs/core 2026.3.12 → 2026.3.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -908,6 +908,12 @@ export declare class App extends EventDispatcher {
908
908
  * @returns 实体对象
909
909
  */
910
910
  getEntityById(id: string): Entity | undefined;
911
+ /**
912
+ * 世界坐标转屏幕坐标
913
+ * @param world 世界坐标
914
+ * @returns 屏幕坐标
915
+ */
916
+ worldToScreen(world: Point3D): Point2D;
911
917
  /**
912
918
  * 创建实体
913
919
  * @param type 实体类型
@@ -1412,6 +1418,7 @@ export declare class Billboard extends EventDispatcher {
1412
1418
  * 提示信息
1413
1419
  */
1414
1420
  tip: string;
1421
+ private _options;
1415
1422
  /**
1416
1423
  * 初始化2D广告牌根
1417
1424
  */
@@ -1424,6 +1431,10 @@ export declare class Billboard extends EventDispatcher {
1424
1431
  */
1425
1432
  constructor(type: "2D" | "3D", options: BillboardOptions);
1426
1433
  private _onResize;
1434
+ /**
1435
+ * 获取广告牌参数选项
1436
+ */
1437
+ get options(): BillboardOptions;
1427
1438
  /**
1428
1439
  * 获取类型
1429
1440
  */
@@ -1846,6 +1857,26 @@ export declare class CameraMgr extends Base {
1846
1857
  * @param app 应用
1847
1858
  */
1848
1859
  constructor(app: App);
1860
+ /**
1861
+ * 获取或设置左移键
1862
+ */
1863
+ get keyLeft(): KeyCode;
1864
+ set keyLeft(value: KeyCode);
1865
+ /**
1866
+ * 获取或设置右移键
1867
+ */
1868
+ get keyRight(): KeyCode;
1869
+ set keyRight(value: KeyCode);
1870
+ /**
1871
+ * 获取或设置上移键
1872
+ */
1873
+ get keyUp(): KeyCode;
1874
+ set keyUp(value: KeyCode);
1875
+ /**
1876
+ * 获取或设置下移键
1877
+ */
1878
+ get keyDown(): KeyCode;
1879
+ set keyDown(value: KeyCode);
1849
1880
  get mapPanning(): boolean;
1850
1881
  set mapPanning(value: boolean);
1851
1882
  /** 当前层级Y轴世界坐标 */