大约有 3 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0013 秒)
...tor3(0, 0, 0)); var point = new Laya.Vector2(); var _outHitInfo = new Laya.RaycastHit(); function checkHit() { //从屏幕空间生成射线 point.elements[0] = Laya.MouseManager.instance.mouseX; point.elements[1] = Laya.MouseManager.instance.mouseY; camera.viewportPointToRay(point, ray); //射线...
来源: Laya_示例 发布时间: 20241118
...5, 0); var _quaternion = new Laya.Quaternion(); var _outHitInfo = new Laya.RaycastHit(); function checkHit() { box.transform.position = _position; box.transform.rotation = _quaternion; //从屏幕空间生成射线 point.elements[0] = Laya.MouseManager.instance.mouseX; point.elements[1] = Laya.Mouse...
来源: Laya_示例 发布时间: 20241118
...ya.Vector3(); _corners[7] = new Laya.Vector3(); var _outHitInfo = new Laya.RaycastHit(); var _outHitAllInfo = new Array(); var _posiV3 = new Laya.Vector3(); var _scaleV3 = new Laya.Vector3(); var _rotaV3 = new Laya.Vector3(0, 1, 0); var _scale = 1; var _scaleIndex = -1; var _color = new Laya.Vector4...
来源: Laya_示例 发布时间: 20241118