大约有 1,194 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0057 秒)
Laya_社区(568) Laya3.0_api(166) Laya2.0_文档(165) Laya2.0_api(116) laya_api(115) Laya_示例(43) Laya3.0_文档(21)
... scene.addChild(new Laya.PointLight()); pointLight.ambientColor = new Laya.Vector3(0.8, 0.8, 0.8); pointLight.specularColor = new Laya.Vector3(2.0, 2.0, 0.9); pointLight.diffuseColor = new Laya.Vector3(1, 1, 1); pointLight.transform.translate(new Laya.Vector3(0, 30, 0)); pointLight.attenuation = new...
来源: Laya_社区 发布时间: 20170714
...etShaderDataByIndex getShaderPropertyValue getTexture getTextureByIndex getVector2 getVector2ByIndex getVector3 getVector3ByIndex getVector4 getVector4ByIndex hasDefine hasListener isCreateFromURL off offAll offAllCaller oldparseEndEvent on once removeDefine setBool setBoolByIndex setBuffer setBuffe...
来源: Laya3.0_api 发布时间: 20231115
...度。 TrailFilter _curtime : Number = 0TrailFilter _lastPosition : Vector3TrailFilter minVertexDistance : Number 获取新旧顶点之间最小距离。 TrailFilter _owner : TrailSprite3DTrailFilter textureMode : int 获取纹理模式。 TrailFilter time : Number 获取淡出时...
来源: Laya2.0_api 发布时间: 20190513
...ddChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 0.5, 1.5)); camera.addComponent(CameraMoveScript); var layaMonkey = scene.addChild(new Laya.MeshSprite3D(Laya.Mesh.load("../../res/threeDimen/skinModel/LayaMonkey/Assets/LayaMonkey/LayaMonkey-LayaMonkey.lm"))); lay...
来源: Laya_示例 发布时间: 20241118
...Child(new Laya.Camera(0, 0.1, 1000))); camera.transform.translate(new Laya.Vector3(0, 5, 0)); camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false); camera.clearColor = null; //添加方向光 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya...
来源: Laya_社区 发布时间: 20180717
升级2.4之后,发现一堆的api都封闭起来了,甚至连Vector3.x都无法单独去设置,真是逗乐我了 实际内容如标题,专门发个贴来吐糟一下,实际使用便利程度下降1000倍 现在很多方法这能用这种方式调用,真是醉了 附件 : --> 2019-1...
来源: Laya_社区 发布时间: 20191202
...ene extends Laya.Script { constructor(){ super(); this.rotation = new Laya.Vector3(0, 0.01, 0); this.point = new Laya.Vector2(); this.ray = new Laya.Ray(new Laya.Vector3(),new Laya.Vector3()); //1.开启第四个参数 let config3D = new Laya.Config3D(); config3D.isAlpha = true; Laya3D.init(0, 0, co...
来源: Laya_社区 发布时间: 20200903
...etShaderDataByIndex getShaderPropertyValue getTexture getTextureByIndex getVector2 getVector2ByIndex getVector3 getVector3ByIndex getVector4 getVector4ByIndex hasDefine hasListener isCreateFromURL off offAll offAllCaller oldparseEndEvent on once removeDefine setBool setBoolByIndex setBuffer setBuffe...
来源: Laya3.0_api 发布时间: 20231115
...角速度。 Returns number constantMaxSeparate get constantMaxSeparate(): Vector3 Defined in laya/d3/core/particleShuriKen/module/GradientAngularVelocity.ts:251 最大分轴随机双固定角速度。 Returns Vector3 constantMin get constantMin(): number Defined in laya/d3/core/particleShuriKen/mod...
来源: Laya3.0_api 发布时间: 20231115
...etShaderDataByIndex getShaderPropertyValue getTexture getTextureByIndex getVector2 getVector2ByIndex getVector3 getVector3ByIndex getVector4 getVector4ByIndex hasDefine hasListener isCreateFromURL off offAll offAllCaller oldparseEndEvent on once removeDefine setBool setBoolByIndex setBuffer setBuffe...
来源: Laya3.0_api 发布时间: 20231115