大约有 2,746 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0072 秒)
Laya_社区(1928) Laya3.0_api(248) Laya2.0_api(162) laya_api(132) Laya_示例(81) Laya2.0_文档(81) Laya2.0_示例(65) Laya3.0_文档(49)
...t = 1):void[override] BaseMaterial _parse(data:*, propertyParams:Object = null, constructParams:Array = null):BaseMaterial[static] BaseMaterial _removeReference(count:int = 1):void[override] BaseMaterial clone():* 克隆。 BaseMaterial cloneTo(destObject:*):void 克隆。 BaseMaterial disabl...
来源: Laya2.0_api 发布时间: 20190513
...gMaterial(); Laya.Texture2D.load("res/layabox.png", Laya.Handler.create(null, function(layabox: Laya.Texture2D): void{ ball1mat.albedoTexture = layabox; })); //ball1mat.tilingOffset = new Laya.Vector4(10, 10, 0, 0); ball1.meshRenderer.material = ball1mat; //添加刚体 ball1.addComponent(Laya.Ph...
来源: Laya_社区 发布时间: 20190506
...动后的回调怎么写,Tween.to(beginbox,{x:-Laya.Browser.width},1000,null,aaa,0,false);aaa是一个测试方法 laya2.0如何用命令行执行清理并导出功能 请问Texture2D如何用base64字符串构建对象 UI编辑里面添加的rect怎么设置透明度? 如何用 FlashBuilder 或...
来源: Laya_社区 发布时间: 20180327
...y, caller, method) Laya.timer.loop() 报错 Cannot read property 'loop' of null 问题状态 最新活动: 2018-02-27 15:59 浏览: 965 关注: 2 人 oy2419498011 • 2018-02-27 16:01 定时器会影响子节点的索引位置吗? Laya_Aaron • 2018-02-27 16:02 @oy2419498011:你使用中出现什...
来源: Laya_社区 发布时间: 20180227
...s_and_water.json", viewRect, Laya.Handler.create(this, this._OnMapCreate), null, new Laya.Point(2 * 64, 2 * 32)); 附件 : --> 2019-01-02 添加评论 悬赏 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 个回复...
来源: Laya_社区 发布时间: 20190102
...var vForce = new Laya.Vector3(1.1, 0, -50);rigidBody.applyImpulse(vForce, null);我已经删减了逻辑代码,重新上传了精简的demo,帮忙再看一下。 NothingSerious • 2019-06-13 15:36 有没有方法,可以获取到小球碰撞前的速度,我在OnCollisionEnter中获取的速...
来源: Laya_社区 发布时间: 20181126
...mplete)); 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); directionLight.direction = _dir...
来源: Laya_示例 发布时间: 20260303
...form.rotate(new Laya.Vector3(-30, 0, 0), true, false); camera.clearColor = null; //添加方向光 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); directionLight.direction = new Laya.Vector3(1, -1, 0); //添加自定义模...
来源: Laya_社区 发布时间: 20180605
...pe = new Laya.CapsuleColliderShape(0.5,1); capsuleCollider.colliderShape = null; capsuleCollider.isTrigger = true; var sphereRigid:Laya.Rigidbody3D = this.capsule.addComponent(Laya.Rigidbody3D); //将碰撞盒添加到刚体上 sphereRigid.colliderShape = capsuleShape; this.capsule.destroy()调用de...
来源: Laya_社区 发布时间: 20181128
...Bar.sizeGrid = "5,5,5,5"; // progressBar.changeHandler = new Handler(this, null); Laya.stage.addChild(progressBar); Laya.timer.loop(300, this, changeValue); } function changeValue() { if (progressBar.value >= 1){ progressBar.value = 0; Laya.stage.removeSelf(); //将登录页面从内存销毁 // ...
来源: Laya_社区 发布时间: 20171230