大约有 987 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0070 秒)
Laya_社区(609) Laya2.0_文档(80) Laya3.0_api(67) Laya2.0_api(60) laya_api(56) Laya2.0_示例(41) Laya_示例(37) Laya3.0_文档(37)
...setSpotLight(); } // 创建聚光灯 setSpotLight(): void { this.spotLight.pos(336, 280); let spotLightComponent = this.spotLight.getComponent(Laya.SpotLight2D); spotLightComponent.color = new Laya.Color(1, 0.812, 1); spotLightComponent.intensity = 1.0; spotLightComponent.innerRadius = 50; spotLight...
来源: Laya3.0_文档 发布时间: 20251010
...误 undefined:1625 throw new JS_Parse_Error(message, filename, line, col, pos); ^ SyntaxError: Unexpected token operator «=», expected punc «,» at JS_Parse_Error.get (eval at <anonymous> (D:\LayaAirIDE\LayaAir1710N\resources\app\node_modules\layacmd\node_modules\uglify-js\tools\node.js:27:...
来源: Laya_社区 发布时间: 20170908
...先登录 发起人 139*****908 相关问题 TypeScript下HttpRequest发送Post请求有Bug? 1.7.20beta有bug,帧属性面板打不开 富文本下划线绘制bug 自从layaflash起,就一直存在的bug Text类中竟然没有pos函数的api~ 【BUG备忘录】关于Tween动画无法正常作用...
来源: Laya_社区 发布时间: 20210615
...#FFFFFF'; txt.bold = true; txt.pos(60,100); Laya.stage.bgColor = '#23238E'; Laya.stage.addChild(txt); } } } 2017-04-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果...
来源: Laya_社区 发布时间: 20170429
...toSize hitTestPrior loop mouseThrough name tag wrapMode WRAP_PINGPONG WRAP_POSITIVE WRAP_REVERSE drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components count customRenderEnable destroyed displayHeight displayWidth displayedInStage...
来源: Laya3.0_api 发布时间: 20231115
...形比如 var mapMask = new Laya.Sprite(); mapMask.size(100,100); mapMask.pos(50,50); mapMask.graphics.drawCircle(0, 0, 50, "#000000") 我这么获得mapMask的matrix,然后放进graphics.drawTexture中呢? 不要说直接用mask,因为微信小游戏不支持,谢谢 2018-11-25 添加评论 ...
来源: Laya_社区 发布时间: 20181125
...toSize hitTestPrior loop mouseThrough name tag wrapMode WRAP_PINGPONG WRAP_POSITIVE WRAP_REVERSE drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components count customRenderEnable destroyed displayHeight displayWidth displayedInStage...
来源: Laya3.0_api 发布时间: 20231115
...w GamPlayUI(); Laya.stage.addChild(play); hero = new Hero("hero", 25) hero.pos(100,200) Laya.stage.addChild(hero) Laya.timer.once(3000, this, gameOver) } function gameOver() { map.removeSelf() play.removeSelf() over = new GameOverUI() over.txt_score.text = "25" over.btn_restart.on(Event.MOUSE_UP,thi...
来源: Laya_社区 发布时间: 20180911
.../资源路径 this.Res = "test.png"; this.img = new Laya.Image(); this.img.pos(200, 200) //获取图片资源,绘制到画布 this.img.skin = this.Res //添加到舞台 Laya.stage.addChild(this.img); } private cacheCanvas: Laya.HTMLCanvas private cacheTexture: Laya.Texture init(){ let rect = this....
来源: Laya_社区 发布时间: 20171211
...stroy onDisable onEnable once parentRepaint paused pivot play playbackRate pos reCache removeChild removeChildAt removeChildByName removeChildren removeSelf render repaint replaceChild resetExternalSkin resume runCallLater scale setChildIndex setGraphics setMix setSelfBounds setSlotAttachment set_an...
来源: Laya3.0_api 发布时间: 20231115