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

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

3751. 材质动画的使用(JavaScript-3D基础(JS)-LayaAir3D之Animator动画) [ 50%]

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

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

3752. 发布WEB报错 unable to get property '_addReference' of undefined or null reference [ 50%]

...摇报错,就解决方案 导微信小程序报错window.focus is not a function 用Mac下Unity5.6.2f1导出的模型在Mac浏览器显示正常,发布到移动端不显示模型,但是顶点数面数都有 微信小程序 发布后缺少app.json文件 问题状态 最新活动: 2020-03-30 17:55 ...

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

3753. 物体每帧y方向移动,超出屏幕高度消失,可还没有超出屏幕高度就提前消失了! [ 50%]

...上面和下面的代码在两个不同的页面------------- _proto.run = function () { this.speed = 1; Laya.timer.frameLoop(1, this, () => { console.log(this.obstacle0.y, Laya.Browser.height); //this.obstacle0是一个精灵对象 this.obstacle0.y += this.speed; if (this.obstacle0.y > Laya.B...

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

3754. laya.d3.renderobjs.nativeobj.NativeShadowCullInfo_API3.0 [ 50%]

...nt cullPlanes cullSphere direction position Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Accessor Enumeration Interface Static property

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

3755. laya的模型动画对360小游戏不适配 报game.js:22084 Uncaught getUint16 error - Out of bounds [ 50%]

...!getUint16 error - Out of bounds";at api request success callback function String

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

3756. 1.1.0-1.3.0版本IDE发布UI组件的runtime属性在swf运行时的问题 [ 50%]

...wf运行会报错 报错类:laya.ui.View 报错方法:protected static function getCompInstance(json:Object):Component 见附件 [故障] exception, 信息=TypeError: Error #1010: 术语尚未定义,并且无任何属性。 求务必在下个版本解决这个问题,不然没法发布swf了...

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

3757. 关于资源版本号的问题咨询 [ 50%]

...否有需要添加的版本号,因为在ResourceManager的 public static function addVersionPrefix(originURL:String):String { if (manifest && manifest[originURL]) { if (type == FILENAME_VERSION) return manifest[originURL]; return manifest[originURL] + "/" + originURL; } return originURL; }...

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

3758. IDE创建3D示例项目(TypeScript-3D基础(TS)-快速开始一个LayaAir3D项目) [ 50%]

...terial(); Laya.Texture2D.load("res/layabox.png", Laya.Handler.create(null, function(tex:Laya.Texture2D) { material.albedoTexture = tex; })); box.meshRenderer.material = material; ``` #####

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

3759. webgl graphics 绘制 层级 显示错误 [ 50%]

...: 打开 WebGLContext2D.as 找到其中的stroke函数 override public function stroke():void { 在最后加上 _renderKey = -1; 如下:   另外你这样做效率太低了,建议用图片,或者用drawRect来做,line是很慢的   2018-04-02 0 1 分享 微博 QZONE 微信 Laya_XS 赞同...

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

3760. 分享一个Graphics画圆角矩形的封装 [ 50%]

...}   2、在Main.ts中写入实现 Laya.Graphics.prototype.drawRoundrect = function(x: number, y: number, width: number, height: number, round: number, fillColor: any, lineColor?: any, lineWidth?: number):void {     if(this instanceof Laya.Graphics == false ){ return; }     let sideMin:number ...

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