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

大约有 1,102 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0058 秒)

241. 怎么获取完全限定类名,就像as的getQualifiedClassName [ 70%]

...屁  const a = new Laya.Event() Laya.__classmap['laya.events.Event'] == a.constructor //true   2017-08-10 0 0 分享 微博 QZONE 微信 宇智波 旋 赞同来自: /**返回指定对象的完全限定名 */ static getQualifiedClassName(value):string { var type = typeof value; if (!value || (type ...

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

242. laya.d3.resource.TextureCube_API3.0 [ 70%]

... 类用于生成立方体纹理。 Hierarchy BaseTexture TextureCube Index Constructors constructor Properties destoryedImmediately lock name url uuid DEBUG Accessors anisoLevel baseMipmapLevel compareMode cpuMemory defaultTexture destroyed dimension filterMode format gammaCorrection gammaSpace gpuM...

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

243. laya.d3.math.CollisionUtils_API3.0 [ 70%]

...ionUtils Collision 类用于检测碰撞。 Hierarchy CollisionUtils Index Constructors constructor Methods boxContainsBox boxContainsPoint boxContainsSphere closestPointBoxPoint closestPointPlanePoint closestPointPointTriangle closestPointSpherePoint closestPointSphereSphere distanceBoxToBox distan...

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

244. 微信头像请求方式 [ 70%]

...:1 [TMA][ERROR][RUNTIME] thirdScriptErrorLaya.Browser.window.Blob is not a constructor;at api request success callback function TypeError: Laya.Browser.window.Blob is not a constructor   2019-10-12 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 ...

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

245. 绘制矩形与圆角矩形(TypeScript-LayaAir基础篇(TS)-矢量图) [ 70%]

...ite_DrawShapes {         private sp: Sprite;           constructor()         {             //初始化舞台             Laya.init(500, 300);             this.drawSomething();         }           private drawSomething...

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

246. 区块地图-PerspectiveWall [ 70%]

...、LayaAirIDE让项目开发更高效。class TiledMap_PerspectiveWall { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(700, 500, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN...

来源: Laya2.0_示例 发布时间: 20250223

247. dialog的popup方法不会关闭其他弹窗 [ 70%]

...代码: class LoginView extends ui.loginUI { normalDialog: NormalDialog; constructor() { super();  this.btn_signin.on(Laya.Event.CLICK, null, () => { this.showDialog("登录成功") }); this.btn_register.on(Laya.Event.CLICK, null, () => { this.showDialog("注册功能暂未开放") });  }...

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

248. @regClass编译报错! [ 69%]

... // src/MachineCtrl.ts   var MachineCtrl = class extends CtrlBase {     constructor() {       super();     }   };   __name(MachineCtrl, "MachineCtrl");    // src/funcccccc.ts   var funzzzzz = class {     constructor() {     }     static run(callBack, caller, time) {       new M...

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

249. laya.resource.TextureCube_API3.0 [ 69%]

... 类用于生成立方体纹理。 Hierarchy BaseTexture TextureCube Index Constructors constructor Properties _id destroyedImmediately lock name url uuid DEBUG Accessors anisoLevel baseMipmapLevel compareMode cpuMemory defaultTexture destroyed dimension filterMode format gammaCorrection gammaSpace ...

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

250. 其他引擎的Demo-Example_04 [ 69%]

...height, slideX = w / 2, slideY = h / 2, speedInfo; class PIXI_Example_04 { constructor() { const WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler, Loader = Laya.Loader; // 不支持WebGL时自动切换至Canvas Laya.init(w, h, WebGL); Laya.stage.alignV = Stage.ALIGN_M...

来源: Laya2.0_示例 发布时间: 20250223