大约有 682 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0062 秒)
Laya_社区(332) Laya3.0_api(109) laya_api(75) Laya2.0_api(70) Laya2.0_文档(59) Laya3.0_文档(30) Laya2.0_示例(4) Laya_示例(3)
...exture如何转换成Texture2D有人搞过吗 微信小游戏 sharedCanvas 创建的Texture,能否再调用Texture.createFromTexture创建新纹理 BoneSlot 对象 showSlotData 无效 texture 替换后显示错误! 微信真机下游戏MAX_TEXTURE_SIZE 请问layabox支持render texture么? Tex...
来源: Laya_社区 发布时间: 20200602
代码创建精灵监听不到事件? var boxstr = "ui/buildsmall.png"; var box = new Laya.Sprite(); var texture = Laya.loader.getRes(boxstr); box.graphics.drawTexture(texture); var arr = {data: StorageRoom.map_storageData[0][0],tag:0}; box.on(Laya.Event.MOUSE_UP,this,this.onclick,[arr]); var ...
来源: Laya_社区 发布时间: 20171113
...互转? 微信真机下游戏MAX_TEXTURE_SIZE 微信小游戏 sharedCanvas 创建的Texture,能否再调用Texture.createFromTexture创建新纹理 请问layabox支持render texture么? layaAir的位图字体fnt可以兼容 egret 的 texture merger工具生成的fnt吗? panel内容较多时 ...
来源: Laya_社区 发布时间: 20180723
[LayaAir2] 在使用videoDom创建视频元素后iPad跟iPhone中位置不一样 具体附件如下另加页面截图 附件 : --> src.zip 2024-03-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS 赞同...
来源: Laya_社区 发布时间: 20240305
... 2 个回复 伐木工人 赞同来自: 一点一滴 贴图对象的常规创建方式是:1、下载url对应的图片;2、创建html中的image对象;3、image对象加载完毕后创建贴图对象并把image对象传递到贴图对象内部。 楼主你已经拿到了图片的base64字符...
来源: Laya_社区 发布时间: 20180518
...ixueying 赞同来自: 1、譬如我有一张图片 2、通过TextureCreate创建package { import laya.display.Sprite; import laya.resource.Texture; import laya.utils.Handler; public class CupPhone { public function CupPhone() { ...
来源: Laya_社区 发布时间: 20160506
...互转? 微信真机下游戏MAX_TEXTURE_SIZE 微信小游戏 sharedCanvas 创建的Texture,能否再调用Texture.createFromTexture创建新纹理 请问layabox支持render texture么? 关于Texture的nv layaAir的位图字体fnt可以兼容 egret 的 texture merger工具生成的fnt吗? pane...
来源: Laya_社区 发布时间: 20181017
...ow(); } /** * 初始化场景 */ GameMain.prototype.init = function () { //创建背景 this.spBg = Sprite.fromImage(this.PathBg); Laya.stage.addChild(this.spBg); //创建动画 this.aniFly = new Animation(); this.aniFly.loadAtlas(this.PathFly); this.aniFly.play(); this.aniFly.pos(250, 100); Laya.st...
来源: Laya_示例 发布时间: 20250221
...rite, Animation = Laya.Animation, Text = Laya.Text, Event = Laya.Event; // 创建背景 this.spBg = Sprite.fromImage(PathBg); Laya.stage.addChild(this.spBg); // 创建动画 this.aniFly = new Animation(); this.aniFly.loadAtlas(PathFly); this.aniFly.play(); this.aniFly.pos(250, 100); Laya.stage.addCh...
来源: Laya2.0_示例 发布时间: 20250221
...ethods MethodDefined By Texture(bitmap:Bitmap = null, uv:Array = null) 创建一个 Texture 实例。 Texture create(source:*, x:Number, y:Number, width:Number, height:Number, offsetX:Number = 0, offsetY:Number = 0, sourceWidth:Number = 0, sourceHeight:Number = 0):Texture[static] 根据指定...
来源: laya_api 发布时间: 20170929