• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 354 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0062 秒)

91. laya.ui.View [ 62%]

...赋值一个图片地址,则会自动加载图片,然后显示 Sprite timer : Timer[override] 场景时钟Scene  top : Number 从组件顶边到其内容区域顶边之间的垂直距离(以像素为单位)。 View transform : Matrix 对象的矩阵信息。通过设置矩阵可以实现...

来源: Laya2.0_api 发布时间: 20190513

92. laya.map.TileAniSprite [ 62%]

...延迟计算数据。 Node  clearAll():void 清理 TileAniSprite clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node contains(node:Node):Boolean 当前容器是否包含指定的 Node 节点对象 。 Node customRender(context:Context, x:Number,...

来源: Laya2.0_api 发布时间: 20190513

93. 脚本组件继承于 Laya.Script。 其中的_update方法,多长时间会调用一次? 可以设置调用时间吗? [ 62%]

... 2017-11-09 1 2 分享 微博 QZONE 微信 ymsdandan 赞同来自: 你在Timer方法中可以找到这个只读方法可以知道调用间隔,但是不能设置调用时间 2017-11-09 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添...

来源: Laya_社区 发布时间: 20171109

94. Templet资源删除不掉 [ 62%]

...      swordman.pos(width / 2,  height / 2);             Laya.timer.frameOnce(100, this, unload);         }         private function unload() : void         {             swordman.destroy();             factory.destroy();             Laya.loa...

来源: Laya_社区 发布时间: 20160902

95. Sprite-容器 [ 62%]

...s ); } this.apesCon.pos(Laya.stage.width / 2, Laya.stage.height / 2); Laya.timer.frameLoop(1, this, this.animate); } animate() { this.apesCon.rotation += 1; } } new Sprite_Container();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Browser = La...

来源: Laya2.0_示例 发布时间: 20240930

96. 性能测试-虫子(慎入) [ 62%]

... maggotTexture = Laya.loader.getRes(texturePath); this.initMaggots(); Laya.timer.frameLoop(1, this, this.animate); } initMaggots() { let maggotContainer; for (let i = 0; i wb.x + wb.width) x -= wb.width; if (y wb.y + wb.height) y -= wb.height; maggot.pos(x, y); } tick += 0.1; } } new PerformanceTest...

来源: Laya2.0_示例 发布时间: 20240930

97. laya.display.Sprite [ 61%]

...被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer。Node  transform : Matrix 对象的矩阵信息。通过设置矩阵可以实现节点旋转,缩放,位移效果。 矩阵更多信息请参考 Matrix Sprite  viewpor...

来源: laya_api 发布时间: 20170929

98. 高级应用-实时阴影 [ 61%]

...r.create(this, onComplete)); var _quaternion = new Laya.Quaternion(); Laya.timer.frameLoop(1, null, function () { Laya.Quaternion.createFromYawPitchRoll(0.025, 0, 0, _quaternion); var _direction = directionLight.direction; Laya.Vector3.transformQuat(_direction, _quaternion, _direction); directionLig...

来源: Laya_示例 发布时间: 20240930

99. laya.ui.MoreGame [ 61%]

...赋值一个图片地址,则会自动加载图片,然后显示 Sprite timer : Timer[override] 场景时钟Scene top : Number 从组件顶边到其内容区域顶边之间的垂直距离(以像素为单位)。 View transform : Matrix 对象的矩阵信息。通过设置矩阵可以实现...

来源: Laya2.0_api 发布时间: 20190513

100. laya.ui.Panel [ 61%]

...显示在屏幕之前调用,一般用于延迟计算数据。 Node clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node contains(node:Node):Boolean 当前容器是否包含指定的 Node 节点对象 。 Node customRender(context:Context, x:Numbe...

来源: Laya2.0_api 发布时间: 20190513