大约有 366 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0054 秒)
Laya_社区(130) Laya3.0_api(62) Laya2.0_api(58) laya_api(54) Laya_示例(27) Laya2.0_示例(20) Laya2.0_文档(9) Laya3.0_文档(6)
...material.normalTexture = Laya.Texture2D.load(this.normalMapUrl[i]); } Laya.timer.frameLoop(1, this, function () { monster1.transform.rotate(this.rotation); monster2.transform.rotate(this.rotation); }); }class BlinnPhong_NormalMap { private scene:Laya.Scene; private rotation:Laya.Vector3 = new Laya.V...
来源: Laya_示例 发布时间: 20251130
...: 2 人 sfsmmc • 2017-08-24 15:18 我之后试了,发现只有在Laya.timer.frameLoop()中设置了position,后面的Laya.Tween.to(_)才能起作用。这是为什么?https://layaair.ldc.layabox.co ... ing03 Laya.timer.frameLoop(1, this, checkHit); function checkHit() { box.transform.position ...
来源: Laya_社区 发布时间: 20170824
...显示在屏幕之前调用,一般用于延迟计算数据。 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
...被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer。Node transform : Matrix 对象的矩阵信息。通过设置矩阵可以实现节点旋转,缩放,位移效果。 矩阵更多信息请参考 Matrix Sprite viewport : ...
来源: laya_api 发布时间: 20170929
...terial = customMaterial; var rotation = new Laya.Vector3(0, 0.01, 0); Laya.timer.frameLoop(1, this, function () { layaMonkey.transform.rotate(rotation, false); }); function initShader() { var attributeMap = { 'a_Position': Laya.VertexElementUsage.POSITION0, 'a_Normal': Laya.VertexElementUsage.NORMAL...
来源: Laya_示例 发布时间: 20251130
...显示在屏幕之前调用,一般用于延迟计算数据。 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
...显示在屏幕之前调用,一般用于延迟计算数据。 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
...生异常情况 关于逻辑贞更新间隔机制、时间和其他一些Timer相关的问题 请问用了位图字体要怎么修改字体大小? 问题状态 最新活动: 2017-03-28 18:34 浏览: 1085 关注: 2 人 username_zmf • 2017-03-28 19:23 但是与我修改的资源无关的atlas时...
来源: Laya_社区 发布时间: 20170328
...cleBody.linearVelocity = { x: velocityX * 3, y: velocityY * 3 }; Laya.Laya.timer.frameOnce(120, this, function () { newBall.destroy(); }); }); let label = this.label = Laya.Laya.stage.addChild(new Laya.Label("单击屏幕产生新的小球刚体,击向bridge的随机位置")); label.top = 20; labe...
来源: Laya2.0_示例 发布时间: 20251130
...赋值一个图片地址,则会自动加载图片,然后显示 Sprite timer : Timer[override] 场景时钟Scene top : Number 从组件顶边到其内容区域顶边之间的垂直距离(以像素为单位)。 View transform : Matrix 对象的矩阵信息。通过设置矩阵可以实现...
来源: Laya2.0_api 发布时间: 20190513