大约有 656 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0068 秒)
Laya_社区(365) Laya3.0_api(124) Laya2.0_文档(97) Laya_示例(42) Laya3.0_文档(19) laya_api(5) Laya2.0_api(4)
...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
...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
...可以直接设置光源的高光颜色directionLight.specularColor= new Vector3(0,0,0);但是我想只针对这3d模型设置高光,threeJS中有类似的设置); 但是 想要通过meshRender.sharedMaterials操作材质的时候,获取到的的length为0。 是不是我的api使用的不对?...
来源: Laya_社区 发布时间: 20170314
...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
...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
...---------- | ------- | | setVectorArray() | Vector4 | | setVectorArray() | Vector3 | | setVector2Array() | Vector2 | | setNumberArray() | number | 当我们想渲染每一个Mesh的时候,就需要传入一个不同的颜色,而每一个颜色是一个Vector4的属性。 所以我们要传入一...
来源: Laya2.0_文档 发布时间: 20210714
...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
...(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
...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
...@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