大约有 352 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0136 秒)
... directionLight.shadowPCFType = 3; // 批量预加载资源 // Laya.loader.create([ // "res/threeDimen/staticModel/grid/plane.lh", // "res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", // // "res/threeDi...
来源: Laya_社区 发布时间: 20190509
...ded方法(为什么要在这里写 因为onLoaded方法是所有预加载资源都加载完毕的时候执行的函数//从资源来表中获取加载好的background图片纹理 var texture = Laya.loader.getRes('res/background.png'); //创建一个bg显示对象 var bg = new laya.display.Sprite()...
来源: Laya_社区 发布时间: 20160722
...:03 @houkaihua888:图片的顺序是通过字符串排序的,修改下你资源的名字即可
来源: Laya_社区 发布时间: 20170908
...: string): void Inherited from Image.group Defined in laya/ui/Image.ts:169 资源分组。 Returns string Inherited from Image.group Defined in laya/ui/Image.ts:173 资源分组。 Parameters value: string Returns void height get height(): number set height(value: number): void Inherited from Image....
来源: Laya3.0_api 发布时间: 20231102
...yaAir IDE动画文件路径:使用此类型需要预加载所需的图集资源,否则会创建失败,如果不想预加载或者需要创建完毕的回调,请使用loadAnimation(...)方法; 2. 图集路径:使用此类型创建的动画模版不会被缓存到动画模版缓存池中...
来源: Laya3.0_api 发布时间: 20231115
...响。 basePath basePath: string Defined in laya/ani/swf/MovieClip.ts:71 资源根目录。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测是优先检测自身,还是优先检测其子对象。鼠标事件...
来源: Laya3.0_api 发布时间: 20231115
...ts:25 场景被关闭后,是否自动销毁(销毁节点和使用到的资源),默认为false autoSize autoSize: boolean = false Inherited from Text.autoSize Defined in laya/display/Sprite.ts:265 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不...
来源: Laya3.0_api 发布时间: 20231115
Laya.URL.basePath加载不到网络资源 var resArray = [ { url: "res/atlas/images.atlas", type : Laya.Loader.ATLAS}, // { url: "res/swf/flash.json", type: Laya.Loader.JSON}, // { url: "images/background.png", type : Laya.Loader.IMAGE}, ]; Laya.loader.load(resArray, Laya.Handler.create(this, th...
来源: Laya_社区 发布时间: 20180531
...图集没有json文件 laya2.0调用scene.gc方法,再次加载同一份资源时候,会导致gpu内存不断增加! Laya中Panel控件在设计模式下,添加字内容界面。可以操作出拖动效果吗?就像可以在设计模式下,看到点击效果一样. 问题状态 最新活...
来源: Laya_社区 发布时间: 20200410
...ts:25 场景被关闭后,是否自动销毁(销毁节点和使用到的资源),默认为false autoSize autoSize: boolean = false Inherited from Text.autoSize Defined in laya/display/Sprite.ts:265 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不...
来源: Laya3.0_api 发布时间: 20231115