大约有 2,543 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0065 秒)
Laya_社区(2051) Laya3.0_api(129) Laya2.0_文档(109) laya_api(84) Laya2.0_api(82) Laya3.0_文档(37) Laya_示例(36) Laya2.0_示例(15)
...放内存 Laya.stage.frameLoop(1, this, ZX);function ZX():void{ var tex:Texture=new Texture(sp.drawToCanvas(sp.width,sp.height,0,0)) sp.graphics.clear() sp.graphics.destroy() tex.destroy() tex.disposeBit...
来源: Laya_社区 发布时间: 20190120
...但是可以通过调用 reCache 方法手动刷新。 注意: 1.Sprite texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.time...
来源: laya_api 发布时间: 20170929
...llText("-10000", 100, 50, 200);//有填充cxt.font="bold 60px 宋体"; let texture2D = new Laya.Texture2D(256, 256); //=====================这里如果在填充新的文字 会有所有的文字信息 ======================================== cxt.fillText("-200", 100, 50, 200);//有填充cxt.font...
来源: Laya_社区 发布时间: 20191211
...自: 人月成患 您好,将下图中圈起来的的属性改为Sprite Texture试试呢,如果还有问题最好传一份示例到社区,我们来看下。 2023-02-17 1 3 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 人月成患 ...
来源: Laya_社区 发布时间: 20230217
...al: SkyPanoramicMaterial = new SkyPanoramicMaterial(); Texture2D.load("res/jfb.jpg", Handler.create(null, function (tex: Texture2D) { material.panoramicTexture = tex; skymat.material = material; })); 2020-03...
来源: Laya_社区 发布时间: 20200319
...自: Laya_Fred 、Laya_Yan 已经找到了问题,同一个资源创建了texture2d和texture导致 2021-12-01 2 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 张嘉俊 相关问题 List 组件列表渲染异常...
来源: Laya_社区 发布时间: 20211130
...来袭 用二的幂次方图集和非二的幂次方图集区别在哪? Texture图片能否进行翻转? ui list 里面的元素不能点击两次 图集打包找不到图集文件 使用了u3D导出来的粒子,不停的显示移除并销毁其克隆对象,统计面板的显存和内存就...
来源: Laya_社区 发布时间: 20171226
... 请问有没有方法能够获取“鼠标是否处于按下状态”? Texture图片能否进行翻转? ios14系统下 blendMode='lighter' 图片异常 Animator 如何获取当前所有动画名称呢?或者所有的AnimationClip呢? matter中layasprite怎么改变图片大小? Laya2.6.0b...
来源: Laya_社区 发布时间: 20180730
...//创建材质 var material:BlinnPhongMaterial = new BlinnPhongMaterial(); Texture2D.load("res/layabox.png", Handler.create(this, function(tex:Texture2D):void { //纹理加载完成后赋值 material.albedoTexture = tex; })); //将材质赋值给自定义模型 box.meshRenderer.material = material; ...
来源: Laya2.0_文档 发布时间: 20210715
...自动更新缓存,只能通过调用reCache方法手动刷新。Sprite texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.time...
来源: laya_api 发布时间: 20170422