大约有 68 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0027 秒)
...距离与上次距离变化,确定是放大还是缩小 const factor = 0.01; sp.scaleX += (distance - lastDistance) * factor; sp.scaleY += (distance - lastDistance) * factor; lastDistance = distance; } function onMouseUp(e) { Laya.stage.off(Event.MOUSE_MOVE, this, onMouseMove); } /**计算两个...
来源: Laya_示例 发布时间: 20241124
...更高效。Laya3D.init(0, 0, true); this.rotation = new Laya.Vector3(0, 0.01, 0); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); var scene = Laya.stage.addChild(new Laya.Scene()); var camera = (scene.addChild(new Laya.Camera(0, 0.1, 1...
来源: Laya_示例 发布时间: 20241124
...距离与上次距离变化,确定是放大还是缩小 const factor = 0.01; this.sp.scaleX += (distance - lastDistance) * factor; this.sp.scaleY += (distance - lastDistance) * factor; lastDistance = distance; } onMouseUp(e) { const Event = Laya.Event; Laya.stage.off(Event.MOUSE_MOVE, this, this.o...
来源: Laya2.0_示例 发布时间: 20241124
...tiger 赞同来自: 我现在是用 var vectx:Vector3 = new Vector3(0,modx*0.01,0); sphere.transform.rotate(vectx,true,false); var vecty:Vector3 = new Vector3(mody*0.01,0,0); sphere.transform.rotate(vecty,false,false); 实现转球 转x轴之前先用 var v3=sphere.transform.localRotationEul...
来源: Laya_社区 发布时间: 20180529
...per.call(this); this.size(312, 462); // {id:1,name:"10金豆-测试",price:0.01,title:"10金豆-测试",desc:"测试",balance:10,gift:0,imgPath:"res\\common\\BalanceSellDlg\\xiaodou.png",hot:1,orderCount:9} // 背景 var bg_image = new Laya.Image(); bg_image.skin = "res/popupwnd/market_item_bg.png";...
来源: Laya_社区 发布时间: 20170422
...更高效。Laya3D.init(0, 0, true); this.rotation = new Laya.Vector3(0, 0.01, 0); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); var scene = Laya.stage.addChild(new Laya.Scene()); var camera = (scene.addChild(new Laya.Camera(0, 0.1, 1...
来源: Laya_示例 发布时间: 20241124
...更高效。Laya3D.init(0, 0, true); this.rotation = new Laya.Vector3(0, 0.01, 0); this.specularMapUrl = ["../../res/threeDimen/skinModel/dude/Assets/dude/headS.png", "../../res/threeDimen/skinModel/dude/Assets/dude/jacketS.png", "../../res/threeDimen/skinModel/dude/Assets/dude/pantsS.png", "../../r...
来源: Laya_示例 发布时间: 20241124
...更高效。Laya3D.init(0, 0, true); this.rotation = new Laya.Vector3(0, 0.01, 0); this.normalMapUrl = ["../../res/threeDimen/staticModel/lizardCal/rock_norm.png", "../../res/threeDimen/staticModel/lizardCal/lizard_norm.png", "../../res/threeDimen/staticModel/lizardCal/lizard_norm.png"]; Laya.stage....
来源: Laya_示例 发布时间: 20241124
...Render.sharedMaterial = 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.VertexElem...
来源: Laya_示例 发布时间: 20241124
...行缩放 this.translate.setValue(0, 0, -0.01 * (distance2 - this.distance)); this.camera.transform.translate(this.translate); this.distance = distance2; } } ...
来源: Laya_社区 发布时间: 20190531