• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 919 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0053 秒)

311. laya.d3.physicscannon.shape.CannonBoxColliderShape_API3.0 [ 82%]

...ape.ts:16 形状方向_Z轴正向 Accessors localOffset get localOffset(): Vector3 set localOffset(value: Vector3): void Inherited from CannonColliderShape.localOffset Defined in laya/d3/physicsCannon/shape/CannonColliderShape.ts:119 Shape的本地偏移。 Returns Vector3 Inherited from CannonColli...

来源: Laya3.0_api 发布时间: 20231102

312. laya.d3.component.volume.batchvolume.StaticBatchVolume_API3.0 [ 82%]

...laya/components/Component.ts:86 Returns boolean boundsMax get boundsMax(): Vector3 set boundsMax(value: Vector3): void Inherited from VolumetricGI.boundsMax Defined in laya/d3/component/Volume/Volume.ts:69 primitive包围盒max Returns Vector3 Inherited from VolumetricGI.boundsMax Defined in laya/d3...

来源: Laya3.0_api 发布时间: 20231115

313. VR的demo有没有加载3D场景的啊,实在不知怎么加 [ 82%]

... Laya.VRCamera( 0.03,0, 0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0.3, 0.3, 0.6)); camera.transform.rotate(new Laya.Vector3(-12, 0, 0), true, false); camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; camera.addComponent(VRCameraMoveScript); /* var camera = (scene.addChild(new Laya.C...

来源: Laya_社区 发布时间: 20170707

314. 关于3d的碰撞检测 [ 81%]

...ider.mesh = field.meshFilter.sharedMesh; 检测碰撞: var rayOrigin: Laya.Vector3 = new Laya.Vector3(0, 0, 0); //射线原点 //根据角色位置计算射线原点 Laya.Vector3.add(this.ownerSprite.transform.position, new Laya.Vector3(speedX, 1, speedZ), rayOrigin); //射线原点位置更新 this...

来源: Laya_社区 发布时间: 20180316

315. .lh 文件不能在同一js文件内重复引用吗? [ 81%]

...addChild(shelf0);            shelf0.transform.translate(new Laya.Vector3(-4,1.2,35));            var shelf3 = Laya.Sprite3D.load("DoorShelf/shelf.lh");            this.scene.addChild(shelf3);            shelf3.transform.translate(new Laya.Vector3(0,1.2,35)); ...

来源: Laya_社区 发布时间: 20180301

316. laya阴影问题 [ 81%]

...dByName("DirectionalLight") as Laya.DirectionLight; light.color = new Laya.Vector3(1, 1, 1); light.shadow = true; light.shadowDistance = 1; light.shadowPCFType = 3; light.shadowResolution = 1024; light.shadowPSSMCount = 1; for (let index = 0; index < 2; index++) { var a = 0.05; var b = 0.2; var c...

来源: Laya_社区 发布时间: 20191223

317. 如何在3d场景中添加文字 [ 81%]

... //场景的相机 public otherGameScene:Laya.Camera; private _outPos:Laya.Vector3 = new Laya.Vector3(); this.txtName = new Laya.Text(); this.txtName.color = "#FFFFFF"; this.txtName.text = this.playerName; this.txtName.fontSize = 18; this.txtName.font = "Arial"; this.txtName.bold = true; this.txtNam...

来源: Laya_社区 发布时间: 20171010

318. laya.d3.renderobjs.nativeobj.NativeCameraCullInfo_API3.0 [ 81%]

...ts:54 Parameters cullingMask: number Returns void position get position(): Vector3 set position(position: Vector3): void Defined in laya/d3/RenderObjs/NativeOBJ/NativeCameraCullInfo.ts:41 Returns Vector3 Defined in laya/d3/RenderObjs/NativeOBJ/NativeCameraCullInfo.ts:36 Parameters position: Vector3 ...

来源: Laya3.0_api 发布时间: 20231115

319. 请问我导入3d模型一直找不到它 [ 81%]

...irectionLight;             directionLight.ambientColor = new Laya.Vector3(0.7, 0.6, 0.6);             directionLight.specularColor = new Laya.Vector3(1.0, 1.0, 0.9);             directionLight.diffuseColor = new Laya.Vector3(1, 1, 1);             directionLight.di...

来源: Laya_社区 发布时间: 20161012

320. laya.d3.webxr.core.WebXRCameraManager_API3.0 [ 81%]

...XR/core/WebXRCameraManager.ts:45 parent Accessors position get position(): Vector3 set position(newPosition: Vector3): void Defined in laya/d3/WebXR/core/WebXRCameraManager.ts:47 Returns Vector3 Defined in laya/d3/WebXR/core/WebXRCameraManager.ts:51 Parameters newPosition: Vector3 Returns void rigCa...

来源: Laya3.0_api 发布时间: 20231115