大约有 908 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0060 秒)
Laya_社区(631) Laya3.0_api(68) Laya2.0_api(57) laya_api(53) Laya2.0_文档(50) Laya3.0_文档(28) Laya2.0_示例(11) Laya_示例(10)
...时滚动一模一样。 两个问题 有元件支援视频流渲染吗? Image元件读不了资料流 两个list,同时挂mouseHandler. 第一个selectIndex正常,第二个不正常 两个view形式页面,互相加载用什么事件? 请问两个项目怎么合并成一个? 两个都是...
来源: Laya_社区 发布时间: 20180925
...器下面是好的,在谷歌下报错运行不了 报的是这个错 Image from origin 'file://' has been blocked from loading by Cross-Origin Resource Sharing policy: Invalid response. Origin 'null' is therefore not allowed access. 2016-08-31 0 2 分享 微博 QZONE 微信 xiaobear250 赞同...
来源: Laya_社区 发布时间: 20160722
...谢你上面做的回答 现在遇到以下的问题 public function drawImage(target:Sprite,srcbmd:Image, mx:Matrix, p1:Point, p2:Point, p3:Point, p4:Point):void { var texture:Texture = Laya.loader.getRes(srcbmd.skin); target.graphics.drawText...
来源: Laya_社区 发布时间: 20160627
...2018-08-30 16:41 @嘿哈:__JS__("wx.getOpenDataContext({filedata:'res/images/rank.json'})") 我这样传过去一样报错呢 嘿哈 • 2018-08-30 16:45 不用手动传,// 主域初始化用 Laya.MiniAdpter.init(true); 子域初始化用Laya.MiniAdpter.init(true, true); 这样初始...
来源: Laya_社区 发布时间: 20180525
...3D实例、图片读取高度图属性。 * @param mesh 网格。 * @param image 高度图。 * @param name 名字。 * @returns 地形渲染节点 */ static createFromMeshAndHeightMap(mesh: Mesh, texture: Texture2D, minHeight: number, maxHeight: number, name: string = null): MeshTerrainSprite3D { v...
来源: Laya3.0_文档 发布时间: 20230303
...{ Laya.loader.load([ { url: "res/ui/UIComponents@atlas0.png", type: Loader.IMAGE }, { url: "res/ui/UIComponents.fui", type: Loader.BUFFER }, { url: "res/ui/FastBet.fui", type: Loader.BUFFER }, { url: "res/ui/Chips.fui", type: Loader.BUFFER }, { url: "res/ui/RankSelect.fui", type: Loader.BUFFER }, { ...
来源: Laya_社区 发布时间: 20171204
...简单数组:["a.png","b.png"];复杂数组[{url:"a.png",type:Loader.IMAGE,size:100,priority:1},{url:"b.json",type:Loader.JSON,size:50,priority:1}]。 Default value complete: Handler | null = null 加载结束回调。根据url类型不同分为2种情况:1. url为String类型,也就是单...
来源: Laya3.0_api 发布时间: 20231102
...//传入16进制颜色,或者图片路径,如 http://www.manfredhu.com/images/matterjs.png } }); LayaRender.run(render); mouseConstraint = Matter.MouseConstraint.create(engine, { ...
来源: Laya_社区 发布时间: 20180323
... device supports vao download thread num = 3 I/LayaBox: start thread:image decode,27961 I/LayaBox: createOpenALSource current num=10 E/LayaGameEngine: game_plugin_init soPath= jarfile= appcache=/data/user/0/com.layabox.test/ game_plugin_get_view D/a: Mainactivity-------------------------...
来源: Laya_社区 发布时间: 20190723
...参照代码如下: ```typescript //先加载plf类型的合并后文件Image.json Laya.loader.load([{url: "res/Image.json", type: "plf"}], Handler.create(this, function():void { //在回调里,正常使用原来的图集 Laya.loader.load("res/atlas/comp.atlas", Handler.create(this, function():v...
来源: Laya2.0_文档 发布时间: 20210714