大约有 148 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0067 秒)
...ya.Vector3(0, 0.01, 0); layaMonkey.once(Laya.Event.HIERARCHY_LOADED, this, function () { layaMonkey.transform.localScale = new Laya.Vector3(300, 300, 300); Laya.Utils3D.convert3DCoordTo2DScreenCoord(translate, translate); layaMonkey.transform.position = translate; Laya.timer.frameLoop(1, this, funct...
来源: Laya_社区 发布时间: 20170807
...ull TypeError: Cannot set property 'createCommandEncoder' of null at Function.Laya3D.__init__ (file:///C:/Users/zyl/Downloads/LayaAirIDE_beta%20(1)/resources/app/out/vs/layaEditor/h5/renders/uiviewer/Editor.max.js:86236:40) 2018-11-12 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个...
来源: Laya_社区 发布时间: 20181022
...xture2D.load("res/threeDimen/Physics/rocks.jpg", Laya.Handler.create(this, function (tex) { this.mat1.albedoTexture = tex; })); Laya.Texture2D.load("res/threeDimen/Physics/plywood.jpg", Laya.Handler.create(this, function (tex) { this.mat2.a...
来源: Laya_社区 发布时间: 20191009
...戏项目。 Scene: the .lh file root type must be Scene,please use other function to load this file.;at api readFile success callback function Error: Scene: the .lh file root type must be Scene,please use other function to load this file. at MyScene.__proto.onAsynLoaded (http://127.0....
来源: Laya_社区 发布时间: 20180317
...明,在使用的时候,报错。 ReferenceError: wx is not defined at Function.<anonymous>(file:///D:work/laya/laya3D/bin/lib/laya.wxmini.js:504:123) 2018-06-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个...
来源: Laya_社区 发布时间: 20180605
...: Laya.loader.load(["res/atlas/comp.atlas"], Laya.Handler.create(this, function(){ console.log("load atals ok"); var dlg1:ui.TestDlgUI = new ui.TestDlgUI(); Laya.stage.addChild(dlg1); dlg1.show(); }));在微信小游戏的模拟器上是正常的,但是在手机上就看不到UI。 后来经过...
来源: Laya_社区 发布时间: 20180525
图片遮罩大小跟设置不一致 (function() { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var Texture = Laya.Texture; var Browser = Laya.Browser; var Handler = Laya.Handler; var WebGL = Laya.WebGL; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.client...
来源: Laya_社区 发布时间: 20171220
...false); Laya.Sprite3D.load( "res/test_mesh2.lh", Laya.Handler.create(this, function (sprite: Laya.Sprite3D): void { var clonesprite: Laya.Sprite3D = sprite.clone() as Laya.Sprite3D; scene.addChild(clonesprite) as Laya.Sprite3D; clonesprite.transform.localScale = new Laya.Vector3( 0.01125, 0.01125, 0...
来源: Laya_社区 发布时间: 20220721
... package { import laya.display.Sprite; public class LayaAirDemo { public function LayaAirDemo() { Laya.init(550,400); var box:Sprite=new Sprite(); var sp1:Sprite=new Sprite(); sp1.name="aaa"; var sp2:Sprite=new Sprite(); sp2.name="aaa"; var sp3:Sprite=new Sprite(); sp3.name="aaa"; var sp4:Sprite=new...
来源: Laya_社区 发布时间: 20160919
...不一样,也没有贴图 代码如下:/* * name; */ var scene = (function () { function scene() { //初始化引擎 Laya3D.init(0, 0,true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); //添加3D场景 var scene = Laya.Scene....
来源: Laya_社区 发布时间: 20180108