大约有 2,609 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0101 秒)
Laya_社区(2269) Laya2.0_文档(96) Laya3.0_api(80) Laya2.0_api(74) Laya3.0_文档(58) laya_api(23) Laya_示例(7) Laya2.0_示例(2)
...博 QZONE 微信 王 坤 赞同来自: 原生接口绘制,可以绘制到Sprite上吗? 像spbg.graphics.drawPath一样 2018-06-21 0 1 分享 微博 QZONE 微信 王 坤 赞同来自: 直接绘制到画布上,那不是被前面所有的sprite遮挡了吗? 这个不是我想要的啊 2018-06-2...
来源: Laya_社区 发布时间: 20180615
...100], ["lineTo", px+0, py+0], ["closePath"]]; private var bg:Sprite; bg = new Sprite(); bg.loadImage("pic/2.jpg",0,0); Laya.stage.addChild(bg); maskSP = new Sprite(); maskSP.graphics.drawPath(0, 0,maskS...
来源: Laya_社区 发布时间: 20161116
...e root type must be Scene,please use other function to load this file."或"Sprite3D: The .lh file root type must be Sprite3D,please use other function to load this file." 跟了一下,发现__proto.onAsynLoaded这个function接收的参数data在layaIDE中被正确解析为json数组,而在微...
来源: Laya_社区 发布时间: 20180222
...,然后在Laya中,获取这个矩形,并且向矩形中添加一个sprite。虽然矩形的位置已经在窗口中,但是sprite无法显示。请问问题出在哪里? 附件 : --> 2017-05-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...
来源: Laya_社区 发布时间: 20170525
...动画由Templet,AnimationPlayer,Skeleton三部分组成。 Hierarchy Sprite Skeleton Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha...
来源: Laya3.0_api 发布时间: 20231115
...监听下complete跟error,在事件里处理。 方法二:或者你用sprite的loadImage,回调里如果成功了会返回文理信息,如果没有返回你就用默认图片。 方案三:先用loader去加载图片,然后用loader.getRes获取资源,如果获取的资源是空的你...
来源: Laya_社区 发布时间: 20170228
...问题,还是使用问题 var hero = sphere.addChild(Laya.Sprite3D.load("./res/Xinzhaoyun/Zhaoyun_skin.lh")); var ani = hero.addComponent(Laya.SkinAnimations); ani.templet = Laya.AnimationTemplet.load("./res/Xinzhaoyun/Zhaoyun_standfight.lsani"); ...
来源: Laya_社区 发布时间: 20161205
...ture2D, priority:1, params:[true]} 场景中初始化MeshTerrainSprite3D: //通过场景中子父级节点寻找可行走区域网格模型 var meshSprite3D:MeshSprite3D = sceneSprite3d.getChildAt(0).getChildAt(0).getChildAt(13) as MeshSprite3D;...
来源: Laya_社区 发布时间: 20170505
...测是起始点和结束点没有完全对齐烘培的navmesh。 7、2D的Sprite没有相对布局组件,导致Sprite无法对齐父节点。 8、【Laya.stage.frameRate】没有提供高刷接口,无法设置高刷新率(120帧),只能在引擎初始化前使用Laya.Config.FPS=120实现...
来源: Laya_社区 发布时间: 20240701
... https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video Hierarchy Sprite VideoNode Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alp...
来源: Laya3.0_api 发布时间: 20231115