大约有 919 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0053 秒)
Laya_社区(468) Laya3.0_api(134) Laya2.0_文档(98) laya_api(88) Laya2.0_api(75) Laya_示例(42) Laya3.0_文档(14)
...de(octree:BoundsOctree, parent:BoundsOctreeNode, baseLength:Number, center:Vector3) 创建一个 BoundsOctreeNode 实例。 BoundsOctreeNode add(object:IOctreeObject):Boolean 添加指定物体。 BoundsOctreeNode getBound():BoundBox 获取包围盒。 BoundsOctreeNode getCollidingWithBound...
来源: Laya2.0_api 发布时间: 20190513
...1, 100)) as Laya.Camera; camera.transform.translate(new Laya.Vector3(0, 0.8, 1.5)); camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false); var mesh = scene.addChild(new Laya.MeshSprite3D(Laya.Mesh.load("../../res/threeDimen/staticModel/sphere/sph...
来源: Laya_社区 发布时间: 20161201
...isTransparent: boolean Returns IRenderQueue createBounds createBounds(min: Vector3, max: Vector3): any Implementation of IRenderOBJCreate.createBounds Defined in laya/d3/RenderObjs/NativeOBJ/NativeRenderOBJCreateUtil.ts:54 Parameters min: Vector3 max: Vector3 Returns any createCameraCullInfo createC...
来源: Laya3.0_api 发布时间: 20231115
...isTransparent: boolean Returns IRenderQueue createBounds createBounds(min: Vector3, max: Vector3): any Implementation of IRenderOBJCreate.createBounds Defined in laya/d3/RenderObjs/RenderObj/RenderOBJCreateUtil.ts:53 Parameters min: Vector3 max: Vector3 Returns any createCameraCullInfo createCameraC...
来源: Laya3.0_api 发布时间: 20231115
...0)) as Laya.Camera; camera.transform.translate(new Laya.Vector3(0, 6, 9.5)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); //方向光 var directionLight = new Laya.DirectionLight(); ...
来源: Laya_社区 发布时间: 20201120
....lsani"); skinAni4.player.play(); mesh4.transform.localPosition = new Laya.Vector3(-2, 0,0); mesh4.transform.localScale = new Laya.Vector3(30,30,30); var mesh =scene.addChild(new Laya.MeshSprite3D(Laya.Mesh.load("xiong/xiong.lm"))); var skinAni = mesh.addComponent(Laya.SkinAnimations); skinAni.templ...
来源: Laya_社区 发布时间: 20170524
...dChild(new Laya.Camera(0, 0.1, 100)); camera.transform.position = new Laya.Vector3(0, 0, 10); camera.transform.rotate(new Laya.Vector3(0, 180, 0), true, false); camera.orthographic = true; camera.orthographicVerticalSize = 5; this.effRes = Laya.Sprite3D.load(resUrl); this.effRes.on(Laya.Event.HIERAR...
来源: Laya_社区 发布时间: 20180503
...ro-mon_1129.lm")); roleMan.transform.localScale = new Vector3(0.01, 0.01, 0.01); roleMan.transform.localPosition = new Vector3(0, -0.5, -3); scene.addChild(roleMan); 男角色的武器模型是:hero-mon_1129wuqi.lm 2017-04-01 ...
来源: Laya_社区 发布时间: 20170401
...这句: GetComponent<Rigidbody>().AddForce ( Quaternion.Euler (new Vector3(transform.rotation.eulerAngles.x,transform.rotation.eulerAngles.y,transform.rotation.eulerAngles.z)) *new Vector3(25f*length,0,0), ForceMode.VelocityChange); 大概的须求是2d场景,旋转鼠标,炮台也跟着...
来源: Laya_社区 发布时间: 20200324
...体旋转。有相关的方法可以解决吗? private var _rotateC:Vector3 = new Vector3(0, 0.001, 0); private function startRound():void { Laya.timer.frameLoop(1, this, function():void{ camare.transform.rotate(_rotat...
来源: Laya_社区 发布时间: 20170607