大约有 786 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0055 秒)
Laya_社区(386) Laya2.0_文档(85) Laya3.0_api(74) Laya2.0_api(66) laya_api(63) Laya3.0_文档(53) Laya_示例(32) Laya2.0_示例(27)
...: /** *...特殊的字符,如泰文,必须重新实现这个类 */ //class laya.webgl.text.CharSegment var CharSegment=(function(){ function CharSegment(){ this._sourceStr=null; } __class(CharSegment,'laya.webgl.text.CharSegment'); var __proto=Ch...
来源: Laya_社区 发布时间: 20180517
...(this.img); this.setImg = function(src) { this.img.skin = src; } } Laya.class(Item, "Item", Box); // 主要逻辑代码 var Stage = Laya.Stage; var List = Laya.List; var Handler = Laya.Handler; var WebGL = Laya.WebGL; (function() { // 不支持WebGL时自动切换至Canvas L...
来源: Laya_社区 发布时间: 20180724
...laya.ui.Clip; import laya.utils.Handler; import ui.test.ListPageUI; public class LayaUISample { private var listP:ListPageUI;//UI面板 private var arr:Array;//list数据数组 public function LayaUISample() { //初始化引擎 Laya.init(600, 800); Laya.stage.bgColor = "#ffcccc"; //加载界面需...
来源: Laya_社区 发布时间: 20170313
...可直接查看API: [https://layaair.ldc.layabox.com/api/?category=Core&class=laya.utils.Tween](https://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=Core&category=Utils&class=laya.utils.Tween) `Ease`类的API中对缓动函数进行了基础的介绍,点击链接可...
来源: Laya2.0_文档 发布时间: 20210715
...第几帧开始播放 Laya.stage.on(Laya.Event.CLICK,this,onClick); } Laya.class(TestUI, "TestUI", TestPageUI); function onClick() { this.ani1.stop();//停止播放 this.ani1.index=30;//index为帧索引,停止到第几帧 } 2017-05-27 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复...
来源: Laya_社区 发布时间: 20170526
...Aaron 赞同来自: https://layaair.ldc.layabox.com/api/?category=Core&class=laya.d3.math.Quaternion 这个是四元数api 2018-02-25 0 0 分享 微博 QZONE 微信 骉 赞同来自: 楼主有什么发现?一个左手坐标系、一个右手坐标系,怎么转化? 2018-08-02 0 0 分享...
来源: Laya_社区 发布时间: 20180224
...ew.TestView; import laya.net.WorkerLoader; import laya.webgl.WebGL; public class LayaUISample { public function LayaUISample() { //初始化引擎 Laya.init(600, 400,WebGL); //设置Laya提供的worker.js的路径 WorkerLoader.workerPath = "libs/worker.js"; //开启worker线程 WorkerLoader.enable =...
来源: Laya2.0_文档 发布时间: 20210715
... qian 赞同来自: http://layaair.ldc.layabox.com/api/?category=Core&class=laya.device.motion.RotationInfo 你看看有没有你想要的 2018-01-03 0 3 分享 微博 QZONE 微信 q1402907210 - 你猜猜 赞同来自: 问题已经解决,可以封贴了! 2018-01-03 0 0 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20180103
...} 2018-06-21 0 2 分享 微博 QZONE 微信 1553745787用户 赞同来自: class DialogPage extends ui.DialogPageUI { private tip:Laya.TipManager = new Laya.TipManager(); constructor() { super(); this.popupEffect= new Laya.Handler(this, function(dialog:Dialog):void { dialog.scale(1, 1); Laya.Tween.f...
来源: Laya_社区 发布时间: 20180620
封装类的时候 怎么在类中表示自身? class BackGround extends Laya.Sprite{ constructor() { super(); new init(); function init() { var bg1 = new Laya.Sprite(); var bg2 = new Laya.Sprite(); //背景图 // box.loadImage("../bin/background.png"); // Laya.stage.addChild(box); bg1.loadImage("....
来源: Laya_社区 发布时间: 20160926