大约有 471 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0045 秒)
Laya_社区(148) Laya3.0_api(88) Laya2.0_api(75) laya_api(69) Laya2.0_文档(43) Laya_示例(37) Laya3.0_文档(9) Laya2.0_示例(2)
tweenline label事件诡异 this.timeLine.addLabel("rotate1",0).to(this.godContaner,{rotation:-5},200,null,0) .addLabel("rotate2",0).to(this.godContaner,{rotation:0},200,null,0); this.timeLine.play(0,true); this.timeLine.on("label", this, function(label){ console.log(label) }); 两个问题 1 为...
来源: Laya_社区 发布时间: 20170310
...); camera.transform.translate(new Laya.Vector3(0, 2, 5)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); 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, -1);...
来源: Laya_示例 发布时间: 20241125
... camera.transform.translate(new Laya.Vector3(0, 0.5, 1)); camera.transform.rotate(new Laya.Vector3( -15, 0, 0), true, false); var layaMonkey = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh"));class Sprite3DLoad { constructor() { Laya3D.init(0, 0, true); L...
来源: Laya_示例 发布时间: 20241125
...旋转问题 请教下大家 我转X轴的时候用的是 sphere.transform.rotate(vectx,true,false); 转Y轴的时候用的是sphere.transform.rotate(vecty,false,false); 一个是局部,一个是世界 我怎么限制x轴转到北极就不转了,欧拉角,同一个位置每次输出的值都...
来源: Laya_社区 发布时间: 20180523
... 0, 0 ], "rotation":[ 0, 0, 0, -1 ], "scale":[ 1, 1, 1 ...
来源: Laya_社区 发布时间: 20180122
...Camera; camera.transform.position = new Vector3(0, 3, 3); camera.transform.rotate(new Vector3( -45, 0, 0), true, false); camera.addComponent(CameraMoveScript); //生成平面,其实是一个box,只不过高度很小,可看成一个平面 var plane:MeshSprite3D = scene.addChild(new MeshSprite3D...
来源: Laya_社区 发布时间: 20161223
... camera.transform.translate(new Laya.Vector3(0, 0.5, 1)); camera.transform.rotate(new Laya.Vector3(-10, 0, 0), true, false); camera.addComponent(CameraMoveScript); var renderTargetCamera = scene.addChild(new Laya.Camera(0, 0.1, 1000)); renderTargetCamera.transform.translate(new Laya.Vector3(0, 0.5, ...
来源: Laya_示例 发布时间: 20241125
....addChild(new Laya.DirectionLight) as Laya.DirectionLight; light.transform.rotate(new Laya.Vector3(-120, 0, 0), false, false); light.shadow = true; light.shadowDistance = 150; light.shadowResolution = 2048; light.shadowPSSMCount = 1; light.shadowPCFType = 3; let plane: Laya.MeshSprite3D = scene.ad...
来源: Laya_社区 发布时间: 20191030
...amera.transform.translate(new Laya.Vector3(0, 0.8, 1.5)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); 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, -1);...
来源: Laya_社区 发布时间: 20171127
...m.translate(new Laya.Vector3(0,0.8,1.5)); camera.transform.rotate(new Laya.Vector3( -15, 0, 0), true, false); // var camera:Laya.Camera = this.scene.addChild(new Laya.Camera(0, 0.1, 100)) as Laya.Camera; // camera.transform.translate(new Laya.Vector3(0, 0.5, 1)); /...
来源: Laya_社区 发布时间: 20190531