大约有 965 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0043 秒)
Laya_社区(486) Laya3.0_api(135) Laya2.0_文档(121) laya_api(88) Laya2.0_api(75) Laya_示例(42) Laya3.0_文档(18)
... public _start(state:Laya.RenderState):void{ this.ray = new Laya.Ray(Laya.Vector3.ZERO,Laya.Vector3.ZERO); this.phasorSprite3D = new Laya.PhasorSpriter3D(); Laya.stage.on(Laya.Event.MOUSE_DOWN,this,this.onMouseDown); } private onMouseDown():void{ this.camera.viewportPointToRay(new Laya.Vector2(Lay...
来源: Laya_社区 发布时间: 20181020
...; // scene_360.addChild(camera); camera.transform.rotationEuler = new Laya.Vector3(-32, -75, 0); camera.transform.position = new Laya.Vector3(-8.2, 5.3, 2.2); var modelViewer = camera.addComponent(ModelViewer); modelViewer.AroundPos = Laya.Vector3._ZERO; var directionLight = (scene_360 as Laya.Node)...
来源: Laya_社区 发布时间: 20190813
...1)))); //设置材质 var transform: Transform3D = box.transform; var pos: Vector3 = transform.position; pos.setValue(0, 5, 0); transform.position = pos; //创建刚体碰撞器 var rigidBody: Rigidbody3D = box.addComponent(Rigidbody3D); //创建盒子形状碰撞器 var boxShape: BoxColliderShape =...
来源: Laya2.0_文档 发布时间: 20210715
...1)))); //设置材质 var transform: Transform3D = box.transform; var pos: Vector3 = transform.position; pos.setValue(0, 5, 0); transform.position = pos; //创建刚体碰撞器 var rigidBody: Rigidbody3D = box.addComponent(Rigidbody3D); //创建盒子形状碰撞器 var boxShape: BoxColliderShape =...
来源: Laya2.0_文档 发布时间: 20210715
...gScene() { MousePickingScene.super(this); this.ray = new Laya.Ray(new Laya.Vector3(0, 0, 0), new Laya.Vector3(0, 0, 0)); this.point = new Laya.Vector2(); this._outHitInfo = new Laya.RaycastHit(); this.phasorSpriter3D = new Laya.PhasorSpriter3D(); this.camera = this.addChild(new Laya.Camera(0, 0.1, 1...
来源: Laya_社区 发布时间: 20170323
...ing, detailUrl2:String, detailUrl3:String, detailUrl4:String, ambientColor:Vector3, diffuseColor:Vector3, specularColor:Vector4, sx1:Number = 1, sy1:Number = 1, sx2:Number = 1, sy2:Number = 1, sx3:Number = 1, sy3:Number = 1, sx4:Number = 1, sy4:Number = 1):voidTerrainChunk callLater(method:Function...
来源: Laya2.0_api 发布时间: 20190513
...aya.Sprite3D; asteroidBox.transform.position = new Laya.Vector3(Strong.rangeRandomFloat(-5, 5), 0, 15.4); //asteroidBox.transform.position = new Laya.Vector3(0, 0, 7); // asteroid.transform.rotate(new Laya.Vector3( // ...
来源: Laya_社区 发布时间: 20191115
...ape.ts:18 形状方向_Z轴正向 Accessors localOffset get localOffset(): Vector3 set localOffset(value: Vector3): void Inherited from CompoundColliderShape.localOffset Defined in laya/d3/physics/shape/ColliderShape.ts:127 Shape的本地偏移。 Returns Vector3 Inherited from CompoundColliderShape...
来源: Laya3.0_api 发布时间: 20231115
...。 Parameters value: number Returns void localOffset get localOffset(): Vector3 set localOffset(value: Vector3): void Inherited from CompoundColliderShape.localOffset Defined in laya/d3/physics/shape/ColliderShape.ts:127 Shape的本地偏移。 Returns Vector3 Inherited from CompoundColliderShape.l...
来源: Laya3.0_api 发布时间: 20231115
...。 Parameters value: number Returns void localOffset get localOffset(): Vector3 set localOffset(value: Vector3): void Inherited from CompoundColliderShape.localOffset Defined in laya/d3/physics/shape/ColliderShape.ts:127 Shape的本地偏移。 Returns Vector3 Inherited from CompoundColliderShape.l...
来源: Laya3.0_api 发布时间: 20231115