大约有 584 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0058 秒)
Laya_社区(357) Laya2.0_文档(64) Laya3.0_api(54) Laya_示例(32) Laya3.0_文档(22) Laya2.0_api(22) laya_api(20) Laya2.0_示例(13)
...LayaAirIDE让项目开发更高效。let mArmature, fileName = "Dragon", mTexturePath, mAniPath, rowCount = 10, colCount = 10, xOff = 50, yOff = 100, mSpacingX, mSpacingY, mAnimationArray = [], mFactory, mActionIndex = 0; class PerformanceTest_Skeleton { constructor() { const Browser = Laya.Browser,...
来源: Laya2.0_示例 发布时间: 20260303
...动态加载。 Laya.loader.load("resources/layaair.png").then((res: Laya.Texture) => { let sprite:Laya.Sprite = new Laya.Sprite(); sprite.texture = res; this.owner.addChild(sprite); }); } 使用URL.basePath方法后,再使用load加载本地路径,都会自动加上URL.basePath里的网址...
来源: Laya3.0_文档 发布时间: 20251010
... var material = new Laya.StandardMaterial(); material.diffuseTexture = Laya.Texture2D.load("res/freegeek logo 0418 yuanjiao Ss.png"); box.meshRender.material = material; Laya.loader.create("cj\cj-default001.lm",Laya.Handler.create(this,this.onCreateComplete)); ...
来源: Laya_社区 发布时间: 20180427
...高人分享使用protobuff框架的游戏demo(TS版本或AS版本的) Texture图片能否进行翻转? 微信小程序—未找到入口 app.json 文件,或者文件读取失败,请检查后重新编译。 【分享】js版节奏大师 问题状态 最新活动: 2019-06-18 10:32 浏览: 6...
来源: Laya_社区 发布时间: 20190618
...70 相关问题 请问LayaAir中如何使图片以圆形的方式显示? Texture图片能否进行翻转? matter中layasprite怎么改变图片大小? ios14系统下 blendMode='lighter' 图片异常 laya怎么跨域加载图片 编辑了图片 执行代码说加载不出来资源 这个是怎...
来源: Laya_社区 发布时间: 20170417
... appPic.as package { import laya.display.Sprite; import laya.resource.Texture; import laya.ui.Image; import laya.utils.Handler; public class addPic { private var picUrl:String; private var pic:Sprite; private var picX:int; private var picY:int; public function addPic(str:String, x:int, y:int) { p...
来源: Laya_社区 发布时间: 20170522
TextureCube. setSixSideImageSources () setSixSideImageSources()method public function setSixSideImageSources(source:Array, premultiplyAlpha:Boolean = false):void 通过六张图片源填充纹理。 source:Array 里面传入的是什么?图片的路径吗?我传入了6个贴图的路...
来源: Laya_社区 发布时间: 20190731
...ader.load("res/apes/monkey2.png",Laya.Handler.create(this,function() { var texture=Laya.loader.getRes("res/apes/monkey2.png"); var sp=new Laya.Sprite(); sp.graphics.drawTexture(texture,0,0); sp.size(texture.width,texture.height); Laya.stage.addChild(sp); })); ``` 使用Graphics.drawTexture并不会...
来源: Laya2.0_文档 发布时间: 20210714
...onScript 3.0) 请问LayaAir中如何使图片以圆形的方式显示? Texture图片能否进行翻转? matter中layasprite怎么改变图片大小? ios14系统下 blendMode='lighter' 图片异常 在线急等,发现你们这个编译器一个bug,不能实现负负得正 求教: soundM...
来源: Laya_社区 发布时间: 20181205
...promise) TypeError: Cannot read property 'width' of null at Function.Texture._create (laya.core.js:15946) at Texture.__proto._onLoaded (laya.core.js:15750) at EventHandler.__proto.runWith (laya.core.js:1410) at ResInfo.__proto.event (laya.core.js:1166) at LoaderManager....
来源: Laya_社区 发布时间: 20200201