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

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

361. Unity资源导出插件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 68%]

...置:Editor -> Project Setting -> Player -> Other Setting -> Color Space,操作如图2-7所示。 (图2-7) 2.关于法线贴图的提醒 Unity的法线贴图经过了压缩,在导出的时候可能会存在LayaAir IDE预览与Unity不一致的情况,对于自定义Shader的用...

来源: Laya3.0_文档 发布时间: 20251010

362. 关于3d的碰撞检测 [ 68%]

...t.LINES, LayaAir3D.camera); this.phasorSpriter3D.line(this._linePos, this._color, this.ray.origin, this._color); this.phasorSpriter3D.end(); console.log("碰撞检测" + this.outHitInfo.distance);//一直都是-1   附件 : --> 2018-03-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...

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

363. laya.d3.core.particleShuriKen.ShurikenParticleMaterial [ 68%]

...剪值。 BaseMaterial blend : int透明混合。BaseMaterial blendConstColor : Vector4混合常量颜色。BaseMaterial blendEquation : int混合方程。BaseMaterial blendEquationAlpha : intAlpha混合方程。BaseMaterial blendEquationRGB : intRGB混合方程。BaseMaterial cull : int渲染...

来源: laya_api 发布时间: 20170929

364. textInput的单行输入&多行输入(TypeScript-LayaAir基础篇(TS)-文本) [ 68%]

...lignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; this.createSingleInput(); this.createMultiInput(); } private createSingleInput(): void { var inputText: Input = new Input(); inputText.size(350, 100); inputText.x = Laya.stage.width - inputText.width >> 1; ...

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

365. laya.d3.core.light.SpotLight_API3.0 [ 68%]

...a _scene _url name tag WORLDINVERTFRONT Accessors active activeInHierarchy color components destroyed displayedInStage hideFlags id intensity is3D layer lightWorldMatrix lightmapBakedType mode numChildren parent range scene shadowDepthBias shadowDistance shadowMode shadowNearPlane shadowNormalBias s...

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

366. 鼠标交互-键盘交互 [ 68%]

...age.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Stat.show(); this.setup(); } setup() { this.listenKeyboard(); this.createLogger(); Laya.timer.frameLoop(1, this, this.keyboardInspector); } listenKeyboard() { const Event = Laya.Event; // 用Set实现更好...

来源: Laya2.0_示例 发布时间: 20251209

367. 使用 HTMLDivElement 时,如果有文字和数字同时存在的话,会对不齐,且会换行 [ 68%]

...-03-27 13:14 var Text = new HTMLDivElement(); barWrap.addChild(Text); Text.color = "#fff"; Text.style.fontSize = 24; Text.innerHTML = "子弹命中率:<span style='color: #ee452c'>50</span>\/100 50%"; Text.pos(480, 20); 我 innerHTML 里的内容太长时会换行...

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

368. mac版本2.0.2IDE发布时压缩PNG报错 [ 68%]

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

369. laya.d3.shader.SubShader_API3.0 [ 68%]

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

370. [LayaAir 3.0]3.0.7微信小游戏开发环境Spine3.7报错 [ 68%]

...接 提交 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