大约有 1,204 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0066 秒)
Laya_社区(630) Laya3.0_api(207) Laya2.0_文档(119) Laya_示例(59) Laya3.0_文档(58) laya_api(46) Laya2.0_api(44) Laya2.0_示例(41)
...ac版本2.0.2IDE发布时压缩PNG报错 报错内容:Encoding error 82: color conversion to palette requested while a color isn't in palette 截图如下: 查找原因,有几张图片会触发这个报错。 谷歌过,说把optipng改true,然后zopflipng改为false,应该时压缩方式...
来源: Laya_社区 发布时间: 20190819
...IGHT0, ShaderDataType.Vector4] Defined in laya/d3/shader/SubShader.ts:49 a_Color a_Color: [number, Vector4] = [VertexMesh.MESH_COLOR0, ShaderDataType.Vector4] Defined in laya/d3/shader/SubShader.ts:48 a_Normal a_Normal: [number, Vector3] = [VertexMesh.MESH_NORMAL0, ShaderDataType.Vector3] Defined in...
来源: Laya3.0_api 发布时间: 20231102
...接 提交 2 个回复 dsk4120 赞同来自: laya.spine.js //调试发现colorNum=NaN, solt.color=Color {r: NaN, g: NaN, b: NaN, a: NaN} graphics.drawTriangles(texture.realTexture, 0, 0, mVertices, mUVs, new Uint16Array(triangles), Laya.Matrix.EMPTY, alpha, colorNum, blendMode);spine导出版本3.7....
来源: Laya_社区 发布时间: 20231115
...行? var text = new HTMLDivElement(); Laya.stage.addChild(text); text.color = "#fff"; text.style.fontSize = 24; text.innerHTML = "子弹命中率:<span style='color: #ee452c'>25</span>\/50 50%"; 用的是最新版本 2017-03-26 添加评论 免费帖 --> 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20170326
...mpressVector2 compressVector3 compressVector4 destroy getBool getBuffer getColor getInt getMatrix4x4 getNumber getShaderData getSourceIndex getTexture getUniformBuffer getValueData getVector getVector2 getVector3 hasDefine removeDefine reset setBool setBuffer setColor setInt setMatrix4x4 setNumber s...
来源: Laya3.0_api 发布时间: 20231115
...a _scene _url name tag WORLDINVERTFRONT Accessors active activeInHierarchy color components destroyed displayedInStage hideFlags id intensity is3D layer lightWorldMatrix lightmapBakedType mode numChildren parent scene shadowCascadesMode shadowDepthBias shadowDistance shadowFourCascadeSplits shadowMo...
来源: Laya3.0_api 发布时间: 20231115
ColorPicker组件的皮肤制作标准是? 看官网demo提供了ColorPicker组件的demo,但是没找到相关皮肤制作要求,请问这个组件的皮肤有什么要求呢? 2017-11-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...
来源: Laya_社区 发布时间: 20171120
....scene.addChild(new Laya.SpotLight()) as Laya.SpotLight; this.loadCCDlight.color = new Laya.Vector3(1, 1, 1); this.loadCCDlight.transform.position = new Laya.Vector3(-1, 1.2, 0.0); this.loadCCDlight.direction = new Laya.Vector3(0.15, -1.0, 0.0); this.loadCCDlight.attenuation = new Laya.Vector3(0.0, ...
来源: Laya_社区 发布时间: 20180515
...色. if (!this.initText) { this.initText = this.textField.text ; this.initColor = this.textField.color ; } // 如果是初始提示字符串, 就设置为空, 同时设置颜色和斜体. if (this.textField.text === this.initText) { this.textField.text = "" ; this.textField.color = "#000000" ; thi...
来源: Laya_社区 发布时间: 20181012
...age.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Laya.loader.load("res/ui/refreshList/ani/refresh.png", Handler.create(this, function(){ this.initView(); })); } initView(){ // 加载并添加场景中需要使用的资源 this.baseBox = new Box(); this.ba...
来源: Laya2.0_示例 发布时间: 20260303