大约有 919 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0048 秒)
Laya_社区(468) Laya3.0_api(134) Laya2.0_文档(98) laya_api(88) Laya2.0_api(75) Laya_示例(42) Laya3.0_文档(14)
...ddChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 2, 0)); camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; camera.addComponent(CameraMoveScript); var skyBox = new Laya.SkyBox(); skyBox.textureCube = Laya.TextureCube.load("../../res/threeDimen/skyBox/skyBox2/skyCu...
来源: Laya_示例 发布时间: 20241124
...Laya.SpotLight()); //设置聚光灯颜色 this.spotLight.color = new Laya.Vector3(1, 1, 0); //设置聚光灯位置 this.spotLight.transform.position = new Laya.Vector3(0.0, 1.2, 0.0); //设置聚光灯方向 var mat = this.spotLight.transform.worldMatrix; mat.setForward(new Laya.Vector3(0.15, -1.0...
来源: Laya2.0_文档 发布时间: 20210715
...s void generatePositionAndDirection generatePositionAndDirection(position: Vector3, direction: Vector3, rand?: Rand, randomSeeds?: Uint32Array): void Overrides BaseShape.generatePositionAndDirection Defined in laya/d3/core/particleShuriKen/module/shape/SphereShape.ts:56 用于生成粒子初始位...
来源: Laya3.0_api 发布时间: 20231115
...ipt extends Laya.Script { /** @private */ protected _tempVector3: Laya.Vector3 = new Laya.Vector3(); protected lastMouseX: number; protected lastMouseY: number; protected yawPitchRoll: Laya.Vector3 = new Laya.Vector3(); protected resultRotation: Laya...
来源: Laya_社区 发布时间: 20200707
...s void generatePositionAndDirection generatePositionAndDirection(position: Vector3, direction: Vector3, rand?: Rand, randomSeeds?: Uint32Array): void Overrides BaseShape.generatePositionAndDirection Defined in laya/d3/core/particleShuriKen/module/shape/HemisphereShape.ts:59 用于生成粒子初始...
来源: Laya3.0_api 发布时间: 20231115
...果,是我参数传的有问题吗? graph.drawCircle(0,0,50,new Laya.Vector3(0,1,1),new Laya.Vector3(0,1,1),10); 颜色的参数怎么传,参数类型是any,我不知道要传什么。 还有这个是不是得在Update中一直调用才行? Laya_Aaron • 2017-12-11 20:44 先new一个sprit...
来源: Laya_社区 发布时间: 20171211
...Number 获取透明测试模式裁剪值。 BaseMaterial ambientColor : Vector3TerrainMaterial blend : int 获取混合方式。 TerrainMaterial blendDst : int 获取混合目标。 TerrainMaterial blendSrc : int 获取混合源。 TerrainMaterial cull : int 获取剔除方式。 Terr...
来源: Laya2.0_api 发布时间: 20190513
...s void generatePositionAndDirection generatePositionAndDirection(position: Vector3, direction: Vector3, rand?: Rand, randomSeeds?: Uint32Array): void Overrides BaseShape.generatePositionAndDirection Defined in laya/d3/core/particleShuriKen/module/shape/BoxShape.ts:67 用于生成粒子初始位置...
来源: Laya3.0_api 发布时间: 20231115
...ddChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 0.8, 1.5)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); //创建平行光 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6...
来源: Laya2.0_文档 发布时间: 20210714
... onUpdate(){ this.ShadowCamera.transform.lookAt(new Vector3(0,0,0), new Vector3(0,1,0), false); let v:Matrix4x4 = this.ShadowCamera.viewMatrix; let p:Matrix4x4 = this.ShadowCamera.projectionMatrix; let o:Matrix4x4 = ne...
来源: Laya_社区 发布时间: 20200229