大约有 250 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0105 秒)
Laya_社区(155) Laya2.0_文档(23) Laya3.0_api(19) Laya2.0_api(18) Laya3.0_文档(16) laya_api(14) Laya2.0_示例(3) Laya_示例(2)
...th : Number[read-only] 表示文本的宽度,以像素为单位。 Text timer : Timer时间控制器,默认为Laya.timer。Node transform : Matrix 对象的矩阵信息。通过设置矩阵可以实现节点旋转,缩放,位移效果。 矩阵更多信息请参考 Matrix Sprite type : S...
来源: laya_api 发布时间: 20170929
...nSample("updateAllScript"); UpdateAllScripte() //计算结束的调用 let time = Laya.PerformancePlugin.endSample("updateAllScript"); //这里的time便是这次调用所消耗的时间 console.log(time); } ``` 我们只需要简单的调用BeginSample endSample 便可以记录函数的调用时间...
来源: Laya2.0_文档 发布时间: 20210714
... Boolean是否使用随机种子。 ShurikenParticleSystem colorOverLifetime : ColorOverLifetime 获取生命周期颜色,注意:如修改该值的某些属性,需重新赋值此属性才可生效。 ShurikenParticleSystem destroyed : Boolean[read-only] 获取是否已销毁。 GeometryFilter ...
来源: laya_api 发布时间: 20170929
... 人 匿名用户 • 2018-08-15 02:35 可是这个方法停止了渲染,Time并没有停止,等开启渲染的时候,物体会突然变到Time运行时刻的状态。
来源: Laya_社区 发布时间: 20170412
typeScript 在interface 接口中怎么用get set function get time():Number; function set time(value:Number):void; 类似于as3 中的这种写法。 2017-10-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Mon...
来源: Laya_社区 发布时间: 20171017
index.html 换个写法,无法拷贝index.js var time = new Date().getTime(); loadLib("index.js?v=" + time); 把<src=index.js> 改为如上写法,发布web将无法拷贝index.js 。请教下,如何修改 附件 : --> myLaya21111.zip 2019-08-23 添加评论 免费帖 --> 分享 微...
来源: Laya_社区 发布时间: 20190823
...ext(); txt.width = 250; txt.wordWrap = true; txt.text = "Do one thing at a time, and do well."; txt.font = font; txt.leading = 5; txt.pos(Laya.stage.width - txt.width >> 1, Laya.stage.height - txt.height >> 1); Laya.stage.addChild(txt); } })();module laya { import BitmapFont = Laya.BitmapFont; impor...
来源: Laya_示例 发布时间: 20260929
...ll.WID,BarCell.WID); private var pos:int = BarCell.WID*0.5; private var endTime:int; private var cdTime:int; public var isCd:Boolean = false; public function CdSprite() { super(); this.scrollRect = rect; this.alpha = 0.85; } public function setSize(bian:int):void{ r = bian / Math.SQRT2; rect = new R...
来源: Laya_社区 发布时间: 20171124
...(txt); txt.width = 250; txt.wordWrap = true; txt.text = "Do one thing at a time, and do well."; txt.font = font; // 文本的字体名称,以字符串形式表示 txt.leading = 5; // 垂直行间距 txt.pos(Laya.stage.width - txt.width >> 1, Laya.stage.height - txt.height >> 1); } } new Text_Bitma...
来源: Laya2.0_示例 发布时间: 20260929
... this._nativeObj = new _conchFloatArrayKeyframe(); } set time(value) { this._nativeObj.setTime(value); } get time() { return this._nativeObj.getTime(); } 这个 new _conchFloatArrayKeyframe()我不知道是哪来的。。整个脚...
来源: Laya_社区 发布时间: 20190629