大约有 5 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0021 秒)
...ew Laya.Vector3(0, 0, 0), new Laya.Vector3(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.view...
来源: Laya_示例 发布时间: 20241118
...ew Laya.Vector3(0, 0, 0), new Laya.Vector3(0, 0, 0)); var point = new Laya.Vector2(); var _position = new Laya.Vector3(0, 0.25, 0); var _quaternion = new Laya.Quaternion(); var _outHitInfo = new Laya.RaycastHit(); function checkHit() { box.transform.position = _position; box.transform.rotation = _qu...
来源: Laya_示例 发布时间: 20241118
...ial.StandardMaterial; import laya.d3.core.scene.Scene; import laya.d3.math.Vector2; import laya.d3.math.Vector3; import laya.d3.math.Vector4; import laya.d3.resource.TextureCube; import laya.d3.resource.models.SkyBox; import laya.display.Stage; import laya.events.Event; import laya.utils.Stat; impor...
来源: Laya_示例 发布时间: 20241118
...port laya.d3.math.Quaternion; import laya.d3.math.Ray; import laya.d3.math.Vector2; import laya.d3.math.Vector3; import laya.d3.math.Vector4; import laya.d3.resource.Texture2D; import laya.d3.resource.models.BoxMesh; import laya.d3.resource.models.CapsuleMesh; import laya.d3.resource.models.Cylinder...
来源: Laya_示例 发布时间: 20241118
...terrain/terrain/ground_04.jpg")); customMaterial.setDiffuseScale1(new Laya.Vector2(27.92727, 27.92727)); customMaterial.setDiffuseScale2(new Laya.Vector2(13.96364, 13.96364)); customMaterial.setDiffuseScale3(new Laya.Vector2(18.61818, 18.61818)); customMaterial.setDiffuseScale4(new Laya.Vector2(13.9...
来源: Laya_示例 发布时间: 20241118