大约有 520 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0069 秒)
.../加载纹理 Laya.Texture2D.load("res/threeDimen/texture/earth.png", Laya.Handler.create(this, function(texture) { //设置反照率贴图 material2.albedoTexture = texture; })); earth2.meshRenderer.material = material2; ``` (图1)
来源: Laya2.0_文档 发布时间: 20210714
.../加载纹理 Laya.Texture2D.load("res/threeDimen/texture/earth.png", Laya.Handler.create(this, function(texture){ //设置反照率贴图 material2.albedoTexture = texture; })); earth2.meshRenderer.material = material2; ``` (图1)
来源: Laya2.0_文档 发布时间: 20210715
...ctangle(); this.tMap.createMap("../bin/res/MarioMap1.json", viewRect, Laya.Handler.create(this,this.initMap)); } private initMap(): void { } } new GameMain();运行的时候报错!错误信息如下: 附件 : --> 2019-02-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...
来源: Laya_社区 发布时间: 20190212
...下,最后回到原大小或原位置,应该用什么缓动模式 Laya.Handler.create和new Laya.Handler有啥区别 Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? mac 用layaair2.0 ide 的编辑模式下,cpu爆满 atlas目录下.json文件与.atlas的区别 LAYAAIR...
来源: Laya_社区 发布时间: 20181219
...Button; import laya.ui.Panel; import laya.utils.Browser; import laya.utils.Handler; public class LayaUISample { public function LayaUISample() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser.height); //ui组件,除了image和clip外,其他皮肤均需要预加载资...
来源: Laya_社区 发布时间: 20170601
...1/t01.ls", "DoorShelf/shelf.lh", "LayaScene_layaScene/layaScene.lh"], Laya.Handler.create(this, onComplete)); ... var shelf = scene.addChild(Laya.Sprite3D.load("LayaScene_layaScene/layaScene.lh")); shelf.transform.position = new Laya.Vector3(-18.69, 1.1, 43.8); 但是无法...
来源: Laya_社区 发布时间: 20180412
... "res/plane.lh", "res/LayaMonkey.lh" ], Laya.Handler.create(this, onComplete)); var _quaternion = new Laya.Quaternion(); Laya.timer.frameLoop(1, null, function () { Laya.Quaternion.createFromYawPitchRoll(0.025, 0, 0, _quaternion...
来源: Laya_社区 发布时间: 20180725
...入口 module laya { import Loader = Laya.Loader; import Handler = Laya.Handler; export class Loader_MultipleType { private ROBOT_DATA_PATH: string = "res/swf/star.swf"; private ROBOT_DATA_PATHS: string = "res/swf/star.json"; private ROBOT_TEXT...
来源: Laya_社区 发布时间: 20180203
...同来自: soundchannel=SoundManager.playMusic(SongsData.getRrlSound(), 1, Handler.create(this, onCompleteHd), SongsData.starttime); 2019-04-24 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 Yangcy 相关问题 两个对象new了一个...
来源: Laya_社区 发布时间: 20190424
...= Laya.Stage; var Texture = Laya.Texture; var Browser = Laya.Browser; var Handler = Laya.Handler; var WebGL = Laya.WebGL; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH...
来源: Laya_社区 发布时间: 20171220