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

大约有 656 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0068 秒)

551. this.bitmap.activeResource is not a function TypeError: this.bitmap.activeResource is not a function [ 54%]

...yaAir新建3D示例项目,在as开发模式下,运行报错 TypeError: Vector3 is not a constructor 用微信开发者调试的时候出现document.createTextNode is not a function api readFile success callback function undefined Uncaught TypeError: Cannot read property 'load' of null 问题状...

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

552. laya.d3.core.material.ExtendTerrainMaterial_API3.0 [ 54%]

...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

553. 无法对载入的材质操作。sharedMaterials的length为0 [ 54%]

...可以直接设置光源的高光颜色directionLight.specularColor= new Vector3(0,0,0);但是我想只针对这3d模型设置高光,threeJS中有类似的设置); 但是 想要通过meshRender.sharedMaterials操作材质的时候,获取到的的length为0。 是不是我的api使用的不对?...

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

554. laya.d3.core.particleshuriken.ShurikenParticleMaterial_API3.0 [ 54%]

...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

555. laya.d3.core.light.DirectionLightCom_API3.0 [ 54%]

...number Returns void shadowFourCascadeSplits get shadowFourCascadeSplits(): Vector3 set shadowFourCascadeSplits(value: Vector3): void Defined in laya/d3/core/light/DirectionLightCom.ts:45 四级级联阴影分割比例,X、Y、Z依次为其分割比例,Z必须大于Y,Y必须大于X。 Returns Vector3...

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

556. drawMeshInstance渲染指令的使用说明(TypeScript-3D基础(TS)-LayaAir3D之高级应用) [ 54%]

...---------- | ------- | | setVectorArray() | Vector4 | | setVectorArray() | Vector3 | | setVector2Array() | Vector2 | | setNumberArray() | number | 当我们想渲染每一个Mesh的时候,就需要传入一个不同的颜色,而每一个颜色是一个Vector4的属性。 所以我们要传入一...

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

557. 用u3d导出的粒子效果,不能移动粒子的位置 [ 54%]

...ffect.lh") as Laya.Sprite3D; particleSprite3D.transform.translate(new Laya.Vector3(0,20,0)) this.scene.addChild(particleSprite3D); 用u3d导出的粒子效果,不能移动粒子的位置 2018-05-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...

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

558. 2.6物理问题 [ 54%]

...(Rigidbody3D); this.rigid.overrideGravity = true; this.rigid.gravity = new Vector3(0,-0.3,0); this.rigid.restitution = 100; 附件 : --> Laya2.6__.rar 2020-05-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 NilZ...

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

559. LookAt又出bug了,官方赶紧看看是不是代码合漏了 [ 54%]

...t(Laya.stage.getChildAt(0).getChildByName("B").transform.position,new Laya.Vector3(0,1,0),false,false)  指向错误   下面两句修正方向 Laya.stage.getChildAt(0).getChildByName("A").transform.rotation.invert(Laya.stage.getChildAt(0).getChildByName("A").transform.rotation) Laya.stage.getChil...

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

560. [LayaAir3]V3.2 | 调试结果不一致,导致无法判断结果? [ 53%]

...@regClass() export class Main extends Laya.Script {   testData = new Laya.Vector3(1, 1, 1);   @property(Laya.Camera)   camera: Laya.Camera;    onStart() {     //@ts-ignore     window.camera = this.camera;     console.log("Game start", this.camera._up);     console.log(       "Game st...

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