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

大约有 4,373 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0124 秒)

3761. Canvas模式下不报错,WebGL模式下运行时报错 [ 50%]

...fileRect()方法,具体行见截图   RenderContext类:this._drawRect=function(x,y,args){                 var ctx=this.ctx;                 if (args[4] !=null){                     ctx.fillStyle=args[4];                     ctx.fillRect(x+ar...

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

3762. 打包之后TEXT可以显示但是 加载其他资源时白屏 [ 50%]

...r.IMAGE }); Laya.loader.load(asset,Laya.Handler.create(this,graphicsImg)); function graphicsImg(){ var s = new laya.display.Sprite(); s.graphics.drawTexture(Laya.loader.getRes("../res/image/bg.png"),0,0);  Laya.stage.addChild(s); } 新建一个工程 這样写打包之后会白屏 2018-08-08 0 8 ...

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

3763. 材质动画的使用(TypeScript-3D基础(TS)-LayaAir3D之Animator动画) [ 50%]

.../scene/materialScene/Conventional/layaScene.ls", Laya.Handler.create(this, function(scene) { Laya.stage.addChild(scene); var camera = scene.getChildByName("Main Camera") as Laya.Camera; camera.addComponent(CameraMoveScript); })); ```

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

3764. 项目的程序入口一般应该怎么写?怎么联系其它的类? [ 50%]

...vas如何使用layaAir引擎 导微信小程序报错window.focus is not a function 想让一个2D的图形被鼠标点击时缩放一下,或左右摇晃一下,最后回到原大小或原位置,应该用什么缓动模式 app启动动画应该如何去掉 请问layaair2.0-js 怎么用程序在...

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

3765. undefined is not an object是什么错误。。。 [ 50%]

...rdScriptError undefined is not an object;at requestAnimationFrame callback function undefined 2019-01-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_XS 赞同来自: 从这个报错上来看,应该是代...

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

3766. as编译js的一个问题 [ 50%]

...     public class LayaSample {                  public function LayaSample() {             //初始化引擎             Laya.init(1136, 640);                          /**测试 */             var o:Object = new Object()...

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

3767. laya.d3.core.material.BaseMaterial_API3.0 [ 50%]

...EUE_TRANSPARENT SHADERDEFINE_ALPHATEST load Legend Object literal Variable Function Type alias Class Class with type parameter Static property Static method Enumeration Interface

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

3768. skin加载url资源不会刷新 [ 50%]

...oader.load("http://10.144.1.20:8081/files/ ... ot%3B, Handler.create(this, function (): void {             var t: Texture = Laya.loader.getRes("http://10.144.1.20:8081/files/ ... 6quot;);             var ape: Sprite = new Sprite();             ape.graphics.drawTexture(t, 0, 0); ...

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

3769. 2.0)js按照官方遮罩写的程序,无法正常执行, 请问怎么回事,代码见内。 [ 50%]

...url路径 head_img.loadImage(data.head_img, Laya.Handler.create(head_img, function () {              this.height = this.width = 77;        var cMask = new Laya.Sprite();//创建遮罩对象        var r = 38.5; //遮罩圆形半径              cMask.graphics.drawCircle(0, 0, r...

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

3770. 在手机QQ浏览器上,在loop循环里修改inputText的位置会使inputText不显示,在电脑上和手机内置浏览器都是正常的 [ 50%]

...的 qq浏览器版本:安卓 8.1.3.3851 Laya.timer.frameLoop(100, this, function () { inputText.y = Laya.Browser.height-100; }); 2018-04-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 w1114367261 赞同来自...

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