大约有 778 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0063 秒)
Laya_社区(405) Laya2.0_文档(169) Laya_示例(108) Laya2.0_示例(67) Laya3.0_文档(16) Laya3.0_api(11) Laya2.0_api(2)
...hild(logo); logo.loadImage("res/atlas/test.png", Laya.Handler.create(this, function(){ console.log("complete!!"); logo.x= Laya.stage.width/2-logo.width/2; logo.y= Laya.stage.height/2-logo.height/2; //logo.pos(Laya.stage.width/2-logo.width/2,Laya.stage.height/2-logo.height/2); })); 2018-10-10 0 1 分...
来源: Laya_社区 发布时间: 20181010
...3D; 可以帮我测试看看吗? 错误讯息: value.cloneTo is not a function at AnimationTransform3D.__proto.setLocalRotation LayaScene_Scene_LightMap.zip 2018-02-01 0 1 分享 微博 QZONE 微信 mobile3Dbin 赞同来自: 1.7.12、1.7.13的版号不是插件,是引擎的版号。 2...
来源: Laya_社区 发布时间: 20180131
....JSON}, ]; Laya.loader.load(altsArr, Handler.create(this, onComplete)); function onComplete():void{ trace("加载完成"); } 2018-05-18 1 1 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 楼上的回答是正确的,关于重复过滤引擎是有判断的,你可以重复加载,...
来源: Laya_社区 发布时间: 20180518
...-default001.lm",Laya.Handler.create(this,this.onCreateComplete)); function onCreateComplete() { var mesh = Laya.loader.getRes("cj\cj-default001.lm"); var meshSprite3D = new Laya.MeshSprite3D(mesh); this.scene.addChild(meshSprite3D); } //modelshow = new Laya.MeshSprite3D(Laya.Mesh...
来源: Laya_社区 发布时间: 20180427
...innPhongMaterial(); Texture2D.load("res/layabox.png", Handler.create(null, function(tex:Texture2D):void { material.albedoTexture = tex; })); box.meshRenderer.material = material; ``` #####
来源: Laya2.0_文档 发布时间: 20210714
...设定了大飞机的血量,可是打一下就死了。 var Game = (function(){ (function Game(){ // 子弹发射偏移位置表 this.bulletPos = [[0],[-15,15],[-30,0,30],[-45,-15,15,45]]; // 关卡等级 this.level = 0; // 升级等级所需要的成绩数量 this.levelUpScore = 0; // 积分...
来源: Laya_社区 发布时间: 20170525
... year: (new Date()).getFullYear() },null,function(message){ let wx = Laya.Browser.window.wx; let openDataContext = wx.getOpenDataContext(); var rankTexture:Laya.Texture = new Laya.Texture(Laya....
来源: Laya_社区 发布时间: 20180529
... Laya.Texture2D.load("res/grass.png", Laya.Handler.create(this, function (tex: Laya.Texture2D): void { planeMat.albedoTexture = tex; })); //设置纹理平铺和偏移 var tilingOffset = planeMat.tilingOffset...
来源: Laya_社区 发布时间: 20201120
...viewStack组件的测试页面**/ private var comp:ComponentDemoUI; public function ComponentDemo() { Laya.init(1334,750, WebGL); Laya.stage.scaleMode = "full"; Laya.stage.bgColor = "#ffffff"; //加载图集成功后,执行onLoaded回调方法 Laya.loader.load("./res/atlas/ui.atlas", Handler.creat...
来源: Laya2.0_文档 发布时间: 20210715
...者请问有其他可行的方法吗 //子域代码示例 public function LayaSample() { MiniAdpter.init(true,true); Laya.init(800,600); Laya.stage.scaleMode = Stage.SCALE_FIXED_AUTO; Laya.stage...
来源: Laya_社区 发布时间: 20190529