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

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

321. 3d粒子只要勾了looping,每次播放完开始下一次循环的时候都会闪烁一下 [ 81%]

...(0, 0.1, 1000); scene3d.addChild(camera); camera.transform.rotate(new Laya.Vector3(-45, 0, 0), false, false); camera.transform.translate(new Laya.Vector3(1000, 0, 0)); camera.orthographic = true; //正交投影垂直矩阵尺寸 camera.orthographicVerticalSize = 10; camera.clearFlag = Laya.BaseCamer...

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

322. 为什么rotation、scale赋值了不管用? [ 81%]

...shSprite3D.load("3d/ben/Export.lh") this.role3D.transform.scale = new Laya.Vector3(0.5,0.5,0.5); this.role3D.transform.position = new Laya.Vector3(0,20,0); 以上的scale、position设置均不起作用,但是我放到frameloop里就有用,请问这是为什么?要怎么解决? 2018-03-09 ...

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

323. Laya多点触控是有开关吗 为什么多点触控没有任何反应 [ 81%]

...  Laya.stage.screenMode = Laya.Stage.SCREEN_NONE;         this.upVector3 = new Laya.Vector3(0, 1, 0);         //预加载所有资源         let resource = ["Export/LayaScene_JJF/Conventional/JJF.lh"];         Laya.loader.create(resource, Laya.Handler.create(this, ...

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

324. laya.d3.core.BaseCamera [ 81%]

...BaseCamera  fieldOfView : Number 获取视野。 BaseCamera  forward : Vector3[read-only] 获取前向量。 BaseCamera id : int[read-only] 获取唯一标识ID。 Sprite3D isStatic : Boolean是否静态,静态包含一系列的静态处理。Sprite3D layer : Layer 获取蒙版。 Sprite3D l...

来源: laya_api 发布时间: 20170929

325. physicsSimulation.rayCast在新版本里选取不准确 [ 81%]

...,有偏移,目前无奈只能回退到2.8.0版本 let touchPoint:Laya.Vector3 = new Laya.Vector3();          let screenPoint:Laya.Vector2 = new Laya.Vector2();         screenPoint.x = Laya.MouseManager.instance.mouseX;         screenPoint.y = Laya.MouseManage...

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

326. laya.d3.core.particleshuriken.module.shape.BaseShape_API3.0 [ 81%]

...s void generatePositionAndDirection generatePositionAndDirection(position: Vector3, direction: Vector3, rand?: Rand, randomSeeds?: Uint32Array): void Defined in laya/d3/core/particleShuriKen/module/shape/BaseShape.ts:54 用于生成粒子初始位置和方向。 Parameters position: Vector3 粒子...

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

327. laya.d3.webxr.core.WebXRInputManager_API3.0 [ 81%]

...WebXR Manager Returns WebXRInputManager Properties Static tempVec tempVec: Vector3 = new Vector3() Defined in laya/d3/WebXR/core/WebXRInputManager.ts:17 Static tempVec1 tempVec1: Vector3 = new Vector3() Defined in laya/d3/WebXR/core/WebXRInputManager.ts:18 Methods bindMeshNode bindMeshNode(meshSprit...

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

328. laya.d3.math.BoundFrustum_API3.0 [ 81%]

...ns number 包涵:1,相交:2,不相交:0 containsPoint containsPoint(point: Vector3): number Defined in laya/d3/math/BoundFrustum.ts:314 与点的关系。 Parameters point: Vector3 点。 Returns number 包涵:1,相交:2,不相交:0 equalsBoundFrustum equalsBoundFrustum(other: BoundFrustum): boolean...

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

329. 微信小游戏wxmin图片加载有点问题 [ 80%]

...ddChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 2, 5)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.clearColor = null; //方向光 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vecto...

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

330. Laya2.7.1 射线提示rayCast未定义 [ 80%]

...d(new Laya.Camera(0, 0.1, 100))); this.camera.transform.translate(new Laya.Vector3(0, 0.7, 5)); this.camera.transform.rotate(new Laya.Vector3( -15, 0, 0), true, false); } onEnable() { Laya.stage.on(Laya.Event.MOUSE_DOWN,this,this._onStageDown); } _onStageDown() { //创建一个点 var point = new La...

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