大约有 2,785 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0090 秒)
Laya_社区(2256) Laya2.0_文档(123) Laya3.0_api(106) Laya_示例(84) Laya2.0_api(57) Laya2.0_示例(55) laya_api(53) Laya3.0_文档(51)
...| Events Packagelaya.device.mediaClasspublic class VideoInheritanceVideo Sprite Node EventDispatcher Object Video将视频显示到Canvas上。Video可能不会在所有浏览器有效。 关于Video支持的所有事件参见:http://www.w3school.com.cn/tags/html_ref_audio_video_dom.asp。 注意...
来源: laya_api 发布时间: 20170929
...s | Events Packagelaya.uiClasspublic class ComponentInheritanceComponent Sprite Node EventDispatcher ObjectImplements IComponentSubclasses Box, Button, Clip, ColorPicker, ComboBox, Image, Label, ProgressBar, ScrollBar, Slider, TipManager Component 是ui控件类的基类。 生命周期:preiniti...
来源: laya_api 发布时间: 20170929
... Events Packagelaya.uiClasspublic class TreeInheritanceTree Box Component Sprite Node EventDispatcher ObjectImplements IRender Tree 控件使用户可以查看排列为可扩展树的层次结构数据。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyD...
来源: laya_api 发布时间: 20170929
... 2017-11-20 0 3 分享 微博 QZONE 微信 hujian0318 赞同来自: var sp:Sprite = new Sprite(); sp.graphics.drawRect(0, 0, 100, 100, "#ffff00"); Laya.stage.addChild(sp); sp.x = 50; trace(sp.x); // 输出50 sp.cacheAs = "bitmap"; sp.staticCache = true; sp.x = 100; trace(sp.x); // 输出100,且编...
来源: Laya_社区 发布时间: 20171120
...隆对象,统计面板的显存和内存就会显示成负数 new Laya.Sprite();绘制图形以后,怎么删除释放资源? 请教下微信小游戏的内存和数据缓存? 模型资源释放问题 2.0 beta4 ts 含demo 在纵向滑动 list 的 renderHandler中给item中的Label组件赋值...
来源: Laya_社区 发布时间: 20170224
...置的,譬如你的静态文本和静态图片等等全部放在了一个sprite(或Box等)容器内,你要针对这个容器去cacheAs! 2017-03-14 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 rainysky 相关问题 请问有...
来源: Laya_社区 发布时间: 20170314
...s.img = new Laya.Image(); this.img.loadImage("url"); const mask = new Laya.Sprite(); mask.graphics.drawCircle(75, 75, 75, "#ffffff"); this.img.mask = mask; this.img.pos(Laya.stage.width / 2, Laya.stage.height / 2); Laya.stage.addChild(this.img); 附件 : --> 2017-01-06 添加评论 免费帖 --> 分...
来源: Laya_社区 发布时间: 20170106
...tyPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale LayaAirIDE下如何使用mask? 关于Laya实现Matter.js官方案例凹多边形的问题 如何与服务端建立连接 Laya mac版的IDE 是没...
来源: Laya_社区 发布时间: 20180510
...和收回状态。 参考代码如下:package { import flash.display.Sprite; import flash.display.StageScaleMode; import flash.events.Event; import flash.events.FocusEvent; import flash.events.KeyboardEvent; import flash.text.TextField; import flash.text.TextFieldType; import flash.ui.Keyboard...
来源: Laya_社区 发布时间: 20151225
... 分享:自定义事件派发与侦听(A页面派发 B页面侦听) sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 微信小游戏:HTMLDivElement的使用 分享:打地鼠 AS、JS、TS版本 Demo! 微信小游戏如何使用ttf字体? LayaAirIDE下如何...
来源: Laya_社区 发布时间: 20170731