大约有 583 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0040 秒)
Laya_社区(380) Laya3.0_api(135) Laya2.0_文档(25) Laya_示例(20) Laya2.0_示例(8) Laya3.0_文档(7) laya_api(5) Laya2.0_api(3)
...发语言、LayaAirIDE让项目开发更高效。const HOLD_TRIGGER_TIME = 1000, apePath = "res/apes/monkey2.png"; let isApeHold = false; class Interaction_Hold { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支...
来源: Laya2.0_示例 发布时间: 20241002
...ild(new Laya.Scene()); var camera = scene.addChild(new Laya.Camera(0, 0.1, 1000)); camera.transform.translate(new Laya.Vector3(0, 0.7, 1.3)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.addComponent(CameraMoveScript); //点光源 var pointLight = scene.addChild(new Laya...
来源: Laya_示例 发布时间: 20241002
...Vector3.Up,out); Quaternion.slerp(transform.rotation,out, Laya.timer.delta/1000,out1); transform.rotation = out1; transform.translate(v3) 附件中是unity的效果 2018-07-26 添加评论 已悬赏5元 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...
来源: Laya_社区 发布时间: 20180726
...ne3D(); Laya.stage.addChild(scene3d); var camera = new Laya.Camera(0, 0.1, 1000); scene3d.addChild(camera); camera.transform.rotate(new Laya.Vector3(-45, 0, 0), false, false); camera.transform.translate(new Laya.Vector3(1000, 0, 0)); camera.orthographic = true; //正交投影垂直矩阵尺寸 camer...
来源: Laya_社区 发布时间: 20191206
...r = new Clip(clipSkin, 10, 1); counter.autoPlay = true; counter.interval = 1000; counter.x = (Laya.stage.width - counter.width) / 2 - 35; counter.y = (Laya.stage.height - counter.height) / 2 - 40; Laya.stage.addChild(counter); } function showTotalSeconds() { var clip = new Clip(clipSkin, 10, 1); cli...
来源: Laya_示例 发布时间: 20241002
...ld(new Laya.Scene()); var camera = (scene.addChild(new Laya.Camera(0, 0.1, 1000))); camera.transform.translate(new Laya.Vector3(0, 0.7, 1.3)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.addComponent(CameraMoveScript); //聚光灯 var spotLight = scene.addChild(new Laya...
来源: Laya_示例 发布时间: 20241002
...Child(this.counter); this.counter.autoPlay = true; this.counter.interval = 1000; this.counter.x = (Laya.stage.width - this.counter.width) / 2 - 35; this.counter.y = (Laya.stage.height - this.counter.height) / 2 - 40; } showTotalSeconds() { const Clip = Laya.Clip; let clip = new Clip(clipSkin, 10, 1)...
来源: Laya2.0_示例 发布时间: 20241002
...ild(new Laya.Scene()); var camera = scene.addChild(new Laya.Camera(0, 0.1, 1000)); camera.transform.translate(new Laya.Vector3(0, 1.5, 4)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.direction = ne...
来源: Laya_示例 发布时间: 20241002
...譬如如下 var ease:*=Ease.backIn(100,100,100,100); Tween.to(sp,{x:400},1000,ease,Handler.create(this,onTween)); 2017-01-05 0 0 分享 微博 QZONE 微信 shaotianhk 赞同来自: var ease:*=Ease.backIn(100,100,100,100); 这句是什么鬼,放在js里直接报错 2018-04-02 0 0 分享 微博 QZO...
来源: Laya_社区 发布时间: 20170105
...5 18:47 @暮黎: Laya.Tween.to(mask, { scaleX: 0 }, that.data.effectTime * 1000,null); Laya.Tween.to( [rect, mask], { width: 0 }, that.data.effectTime * 1000, null, Laya.Handler.create(this, function() { isSceneAnimMask.destroy(); }) ); 我是这样写的,就同步了 Laya_Aaron • 2018-05-24 17:30...
来源: Laya_社区 发布时间: 20180524