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

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

511. 射线一直无法获取物体 [ 69%]

...   var point = new Laya.Vector2();     var ray = new Laya.Ray(new Laya.Vector3(0, 0, 0), new Laya.Vector3(0, 0, 0));     function checkHit() {         //从屏幕空间生成射线         point.elements[0] = Laya.MouseManager.instance.mouseX;         point.elements[1] = Laya.MouseM...

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

512. laya.d3.core.material.SkyProceduralMaterial_API3.0 [ 69%]

...PropertyValue getTexture getTextureByIndex getVector2 getVector2ByIndex getVector3 getVector3ByIndex getVector4 getVector4ByIndex hasDefine hasListener isCreateFromURL off offAll offAllCaller oldparseEndEvent on once removeDefine setBool setBoolByIndex setBuffer setBufferByIndex setColor setColorByI...

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

513. laya.d3.core.particleshuriken.ShurikenParticleInstanceSystem_API3.0 [ 69%]

...式。 startRotationConstantMaxSeparate startRotationConstantMaxSeparate: Vector3 = null Inherited from ShurikenParticleSystem.startRotationConstantMaxSeparate Defined in laya/d3/core/particleShuriKen/ShurikenParticleSystem.ts:282 最大开始三维旋转,1模式。 startRotationConstantMin startR...

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

514. laya.d3.core.material.UnlitMaterial_API3.0 [ 69%]

...PropertyValue getTexture getTextureByIndex getVector2 getVector2ByIndex getVector3 getVector3ByIndex getVector4 getVector4ByIndex hasDefine hasListener isCreateFromURL off offAll offAllCaller oldparseEndEvent on once removeDefine setBool setBoolByIndex setBuffer setBufferByIndex setColor setColorByI...

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

515. laya.d3.core.Camera_API3.0 [ 69%]

...ted from Node._extra Defined in laya/display/Node.ts:56 _forward _forward: Vector3 = new Vector3() Inherited from BaseCamera._forward Defined in laya/d3/core/BaseCamera.ts:174 前向量 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _up _up: Vector3 = new Vector3(...

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

516. 阴影太黑,阴影强度问题 [ 68%]

...。 你好,小伙儿 • 2018-05-26 16:02 //添加环境色(刚开始Vector3变量我传入了 1,1,1 发现效果不明显,所以改大一些方便查看效果) scene.ambientColor = new Laya.Vector3(10,10,10) 我添加了环境色,并且截了图,发现阴影的颜色并没有改变...

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

517. Sprite3D的克隆(JavaScript-3D基础(JS)-LayaAir3D之精灵) [ 68%]

...clone1 = Laya.Sprite3D.instantiate(layaMonkey, this.scene, false, new Laya.Vector3(0.6, 0, 0)); //克隆sprite3d var layaMonkey_clone2 = this.scene.addChild(Laya.Sprite3D.instantiate(layaMonkey, null, false, new Laya.Vector3( -0.6, 0, 0))); } ``` ![](img/2.png)(图2)

来源: Laya2.0_文档 发布时间: 20210714

518. laya.d3.core.particle.EmitterSphere [ 68%]

...s Show Inherited Public Properties PropertyDefined By  centerPosition : Vector3发射器中心位置。EmitterSphere emissionRate : Number 获取粒子发射速率 EmitterBase minEmissionTime : Number 发射粒子最小时间间隔 EmitterBase particleTemplate : ParticleTemplateBase[write-only...

来源: laya_api 发布时间: 20170603

519. laya的各种light支持culling mask吗? [ 68%]

...rectionLight()) as Laya.DirectionLight; this._PlayerLight.color = new Laya.Vector3(0.7, 0.6, 0.6); this._PlayerLight.transform.worldMatrix.setForward(new Laya.Vector3(1, -1, 0)); this._PlayerLight.layer = 9; 都没用啊 请问您是如何实现的。 135*****336 • 2020-05-20 16:18 你最后解决...

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

520. TypeError: Cannot set property 'material' of undefined [ 68%]

...(this.unit3D);         this.unit3D.transform.localScale = new Laya.Vector3(1, 1, 1); this.unit3D.transform.translate(new Laya.Vector3(0, 0, 0));          var material:Laya.UnlitMaterial = Laya.Loader.getRes("Unity/Assets/Materials/Materials.lmat") as Laya.UnlitMaterial;      ...

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