• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 3,261 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0070 秒)

521. laya.d3.math.Vector2_API3.0 [ 80%]

Search Preparing search index... The search index is not available ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/math/Vector2" Vector2 Class Vector2 Vector2 类用于创建二维向量。 Hierarchy Vector2 Implements IClone Index Constructors con...

来源: Laya3.0_api 发布时间: 20231102

522. 【分享】LayaAir As工程 编译新建类的方法 [ 80%]

...呢? 因为引擎在编译的时候,会在bin/h5 目录下生成一个 index.html文件,如果目录下有这个文件,则不进行操作,项目在创建的时候已经自动生成了index.html,所以再编译的时候是不会重新生成这个文件的,那么index.html文件的入口...

来源: Laya_社区 发布时间: 20171219

523. Laya.Utils.getQueryString 中文乱码 [ 80%]

..."file" 属性中加入了 中文参数如下 "file": "${workspaceRoot}/bin/index.html?mode=1&roomId=1&userName=如来&uid=1&headImg=weiguang/usericon/1.png.jpg&posId=0", 没有经过 escape 编码所以出来是乱码  å¦‚来 用 console.log(escape("如来")); 方法...

来源: Laya_社区 发布时间: 20200923

524. laya.utils.IStatRender_API3.0 [ 80%]

Search Preparing search index... The search index is not available ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/utils/IStatRender" IStatRender Class IStatRender author laya Hierarchy IStatRender StatUI Index Methods enable hide isCanvasRender rende...

来源: Laya3.0_api 发布时间: 20231102

525. laya.d3.shader.pbr.PBRShaderLib_API3.0 [ 80%]

Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/shader/pbr/PBRShaderLib" PBRShaderLib Class PBRShaderLib Hierarchy PBRShaderLib Index Properties DEFINE_ANISOTROPY DEFINE_CLEARC...

来源: Laya3.0_api 发布时间: 20231115

526. laya.maths.Vector2_API3.0 [ 80%]

Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/maths/Vector2" Vector2 Class Vector2 Vector2 类用于创建二维向量。 Hierarchy Vector2 Implements IClone Index Constructors ...

来源: Laya3.0_api 发布时间: 20231115

527. 高级应用-寻路导航 [ 80%]

... new Laya.Vector3(0, 0, 0); this._quaternion = new Laya.Quaternion(); this.index = 0; this.curPathIndex = 0; this.nextPathIndex = 1; this.pointCount = 10; Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); this.path = new Array(); //预加...

来源: Laya_示例 发布时间: 20241001

528. laya.display.cmd.DrawPolyCmd_API3.0 [ 80%]

Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/display/cmd/DrawPolyCmd" DrawPolyCmd Class DrawPolyCmd 绘制多边形 Hierarchy DrawPolyCmd Index Properties fillColor lineColor l...

来源: Laya3.0_api 发布时间: 20231115

529. 淘宝创意互动分包指南(TypeScript-小游戏适配文档-淘宝创意互动) [ 80%]

...─ page3 │ └── page4 └── pages ├── common └── index ``` 我们LayaIDE中已经在 `app.json` 文件的 `subPackages` 字段中声明小程序的分包结构: ``` { "pages": [ "pages/index", "pages/common" ], "subPackages": [ { "root": "packageA", "pages": [ "pages/page1"...

来源: Laya2.0_文档 发布时间: 20210715

530. 【求助】怎么在自定义对象进行实例化的时候,给它绑定监听事件 [ 80%]

...ite(); Laya.stage.addChild(foodSprite); //初始化当前菜品下标 this.index = 0; //数据数组 foodArray = ; foodArray.push(new Food("菜品1", "1", 0)); foodArray.push(new Food("菜品2", "2", 1)); foodArray.push(new Food("菜品3", "3", 2)); foodArray.push(new Food("菜品4", "4", 3)); foodA...

来源: Laya_社区 发布时间: 20180407