大约有 2,384 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0078 秒)
Laya_社区(1773) Laya3.0_api(144) Laya2.0_文档(127) Laya2.0_api(103) laya_api(77) Laya3.0_文档(70) Laya_示例(48) Laya2.0_示例(42)
...到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 naxx111 赞同来自: 我接入过CannonJS. 因为oimo没有ts描述文件 :( 建立一个单例里面跑Cannon.World private constructor() { this.world = new CANNON.World(); this.world.allowSleep = true; Laya.timer.frameLoo...
来源: Laya_社区 发布时间: 20200217
...找到相关结果 已邀请: 与内容相关的链接 提交 9 个回复 xxxxxxxxxx 赞同来自: 敷 衍 xxxxxx 2018-12-19 1 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 怎么引的? 2018-10-17 0 2 分享 微博 QZONE 微信 fftidus 赞同来自: 测试项目 TestTS.zip 2018-10-17 0 1 ...
来源: Laya_社区 发布时间: 20181017
...emRender = gamepublicspaceitem.PublicSpaceItem; this.publicSpaceList.repeatX = 1; this.publicSpaceList.repeatY = 3; this.publicSpaceList.spaceY = 0; // this.publicSpaceList.x = 22; this.publicSpaceList.y = 100; this.publicSpaceList.width = 1553; this.publicSpaceList.height = 810;// this.publicSpaceL...
来源: Laya_社区 发布时间: 20170923
Sp.graphics.drawTexture()中的color参数使用的时候,会概率性导致整个场景中的节点颜色改变成我们使用过的颜色。 没有进行其他操作 Sp.graphics.drawTexture(_PreloadUrl._list.texture.brushworkCommon.texture, pointArr[index].x - this.DrawControl.radiu...
来源: Laya_社区 发布时间: 20201103
Search Preparing search index... The search index is not available ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/events/MouseManager" MouseManager Class MouseManager MouseManager 是鼠标、触摸交互管理器。 鼠标事件流包括捕获阶段...
来源: Laya3.0_api 发布时间: 20231102
...ze=true; sp2.name='sp2'; sp2.graphics.drawRect(0,0,100,100,"#0000FF"); sp2.x=110; Laya.stage.addChild(sp1); Laya.stage.addChild(sp2); onAddEvent(sp1); onAddEvent(sp2); } private function onAddEvent(target:Sprite):void { target.on(Event.MOUSE_OVER,this,onMouse); target.on(Event.MOUSE_OUT,this,onMouse...
来源: Laya_社区 发布时间: 20170502
... static _openZone:Laya.Sprite; //开放域纹理 private static _openZoneTexture:Laya.Texture; public static openZone(vx:number=0,vy:number=0,scaleX:number=1,scaleY:number=1) { if(!this._openZone) { //开放域 this._openZone = new Laya.Sprite(); } this._openZone.size(Laya.stage.width,Laya.stage.hei...
来源: Laya_社区 发布时间: 20200618
相机texture内模型移动的问题 我是参照官方这个demo(https://layaair2.ldc2.layabox.com/demo2/?language=zh&category=3d&group=Advance&name=Scene2DPlayer3D)做的2D场景加载3D模型,但是我的地图上需要加上百个人物和怪物,demo中的方式每个3D模...
来源: Laya_社区 发布时间: 20220613
...请: 与内容相关的链接 提交 2 个回复 devilsome 赞同来自: jxfcwys 总结一下,laya对custom shade支持有些问题。尺寸错误的主要原因是uv错误。 重现流程如下: 1. 异步加载纹理资源 2. 加载完成后在custom shader中初始化纹理的uv 3. 纹理被...
来源: Laya_社区 发布时间: 20170904
...关结果 已邀请: 与内容相关的链接 提交 3 个回复 gls_laybox 赞同来自: t2.super(this);也是报错的,说没有构造方法 2018-01-04 0 0 分享 微博 QZONE 微信 qian 赞同来自: 建议参考https://ask.layabox.com/question/811 2018-01-04 0 6 分享 微博 QZONE 微信 gls...
来源: Laya_社区 发布时间: 20180104