大约有 3 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0015 秒)
...= new Laya.Vector3(0, 0, 0); var _offset = new Laya.Vector3(0, 0.25, 0); //鼠标事件 Laya.stage.on(Laya.Event.MOUSE_UP, this, function () { if (_outHitInfo.distance !== -1) { var sphere = scene.addChild(new Laya.MeshSprite3D(new Laya.SphereMesh(0.25, 16, 16))); var mat = new Laya.StandardMaterial...
来源: Laya_示例 发布时间: 20241124
...abel.fontSize = 50; label.color = "#40FF40"; Laya.stage.addChild(label); //鼠标事件 Laya.stage.on(Laya.Event.MOUSE_UP, this, function () { var str = ""; for (var i = 0; i ; private camera: Laya.Camera; private label: Laya.Label; constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Lay...
来源: Laya_示例 发布时间: 20241124
...pVector3 = new Laya.Vector3(0, 1, 0); var _vector3 = new Laya.Vector3(); //鼠标事件 Laya.stage.on(Laya.Event.MOUSE_UP, this, function () { if (_outHitInfo.distance !== -1) { Laya.Vector3.add(_outHitInfo.position, _offset, _vector3); Laya.Tween.to(_position, {x: _vector3.x, y: _vector3.y, z: _vec...
来源: Laya_示例 发布时间: 20241124