大约有 6 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0028 秒)
...function (other) { this.tsizex = this.box._components[0]._transformOrientedBoundBox.extents.x; this.tsizez = this.box._components[0]._transformOrientedBoundBox.extents.z; this.osizex = other._transformOrientedBoundBox.extents.x; this.osizez = other._transformOrientedBoundBox.extents.z; //得到是...
来源: Laya_社区 发布时间: 20181017
...7071068 ], "scale":[ -0.1805366, -0.1261967, -0.1261967 ], "rootBone":52, "boundBox":{ "min":[ -0.330108, -0.5589796, -0.68723 ], "max":[ 0.6775162, 0.1249337, 0.06879723 ] }, "boundSphere":{ "center":[ 0.1737041, -0.217023, -0.3092164 ], "radius":0.7166975 }, "bones":[ 56, 57, 58, 52, 53, 54 ], "ma...
来源: Laya_社区 发布时间: 20191015
...] = new Laya.Vector3(); _corners[7] = new Laya.Vector3(); this.boxCollider.boundBox.getCorners(_corners) this.phasorSpriter3D.begin(Laya.WebGLContext.LINES, this.camera); this.phasorSpriter3D.line(_corners[0], _color, _corners[1], _color); this.phasorSpriter3D.line(_corners[1], _color, _corners[2], ...
来源: Laya_社区 发布时间: 20180821
...ane.addComponent(Laya.BoxCollider) as Laya.BoxCollider; boxCollider.setFromBoundBox(plane.meshFilter.sharedMesh.boundingBox); plane.name = "平面"; //正方体 let box: Laya.MeshSprite3D = scene.addChild(new Laya.MeshSprite3D(new Laya.BoxMesh(0.5, 0.5, 0.5))) as Laya.MeshSprite3D; let boxMat: Lay...
来源: Laya_社区 发布时间: 20180820
...ider=other; if (Collision.sphereContainsBox(this.boundSphere,meshCollider._boundBox)!==/*laya.d3.math.ContainmentType.Disjoint*/0){ var positions=meshCollider.mesh._positions; for (var i=0,n=positions.length;i < n;i++){ if (Collision.sphereContainsPoint(this.boundSphere,positions[i])===/*laya.d3....
来源: Laya_社区 发布时间: 20181114
...068 ], "scale":[ 0.5372322, 0.5372322, 0.5372322 ], "rootBone":"Bone028", "boundBox":{ "min":[ -0.07214917, -0.04863032, -0.04459107 ], "max":[ 0.148447, 0.0552587, 0.04798841 ] }, "boundSphere":{ "center":[ 0.03814892, 0.00331419, 0.001698675 ], "radius":0.1304095 }, "materials":[ { "type":"Laya.Bl...
来源: Laya_社区 发布时间: 20170428