大约有 1,651 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0313 秒)
Laya_社区(1312) Laya3.0_api(81) Laya2.0_api(74) laya_api(69) Laya2.0_文档(40) Laya_示例(36) Laya2.0_示例(20) Laya3.0_文档(19)
...用: public function init(){ var s:sprite = create_a_big_sprite(); Laya.timer.once(250,this,function():void{ GameUtil.createTexture(s,onTexture2DReady,this); }); } public function onTexture2DReady(t:Texture2D):void { //todo } 你会发现我用了一个 Laya.timer.once ,如果你的对象不大...
来源: Laya_社区 发布时间: 20170718
...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_示例 发布时间: 20260106
...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_示例 发布时间: 20260106
...被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer。Node transform : Matrix 对象的矩阵信息。通过设置矩阵可以实现节点旋转,缩放,位移效果。 矩阵更多信息请参考 Matrix Sprite treeLevel...
来源: laya_api 发布时间: 20170929
...显示在屏幕之前调用,一般用于延迟计算数据。 Node clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node config(w:int, h:int):voidPerfHUD contains(node:Node):Boolean 当前容器是否包含指定的 Node 节点对象 。 Node ...
来源: 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
...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_示例 发布时间: 20260106
...显示在屏幕之前调用,一般用于延迟计算数据。 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
...显示在屏幕之前调用,一般用于延迟计算数据。 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