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

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

461. [LayaAir3]关于drawToRenderTexture2D绘制后图像模糊问题补充 [ 59%]

...rue, the texture will be flipped vertical. Default is false. * @param clearColor Optional. If provided, the texture will be cleared to this color before drawing. Default is null. * @returns The drawn RenderTexture2D object. * @ZH 绘制当前对象到一个 Texture 对象上。 * @param canvasWidth ...

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

462. laya.d3.core.render.posteffect.ColorGradEffect_API3.0 [ 58%]

...rited Externals Only exported Menu Globals "laya/d3/core/render/PostEffect/ColorGradEffect" ColorGradEffect Class ColorGradEffect ColorGradEffect 类用于创建调色Effect Hierarchy PostProcessEffect ColorGradEffect Index Constructors constructor Properties _lutTex SHADERDEFINE_ACES SHADERDEFINE_C...

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

463. 输入设备-指南针 [ 58%]

...age.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Laya.loader.load(compassImgPath, Handler.create(this, this.init)); } init() { const Gyroscope = Laya.Gyroscope, Event = Laya.Event; // 创建罗盘 this.createCompass(); // 创建方位指示器 this.create...

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

464. 3D粒子 · LayaAir3.3 · 引擎文档 · LAYABOX [ 58%]

...360之间随机,可以看到左边粒子有各个方向的旋转 Start Color:每个粒子的初始颜色 (图3.1.1-4) 展示了Start Color为红色的效果 注意,即便在StartColor中规定了粒子为红色,显示出来的效果也不是纯红色,粒子与粒子,天空,红色...

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

465. 3D粒子编辑模块 · LayaAir3文档 · LAYABOX [ 58%]

...360之间随机,可以看到左边粒子有各个方向的旋转 Start Color:每个粒子的初始颜色 (图3.1.1-4) 展示了Start Color为红色的效果 注意,即便在StartColor中规定了粒子为红色,显示出来的效果也不是纯红色,粒子与粒子,天空,红色...

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

466. 高级应用-实时阴影 [ 58%]

...; directionLight.direction = new Laya.Vector3(0, -0.8, -1); directionLight.color = new Laya.Vector3(1, 1, 1); //灯光开启阴影 directionLight.shadow = true; //可见阴影距离 directionLight.shadowDistance = 3; //生成阴影贴图尺寸 directionLight.shadowResolution = 2048; //生成阴影...

来源: Laya_示例 发布时间: 20251218

467. 一个简单的跑酷曲面shader分享 [ 58%]

...tor() { super(); this.setShaderName("CustomCurveShader"); this.enableVertexColor = false; this.albedoColor = new Laya.Vector4(0.0, 0.0, 0.0, 0.0); this.xoffset = 15.0; this.yoffset = -15.0; this.zdistance = 200.0; } public static initShader() { var attributeMap: object = { "a_Position": Laya.VertexM...

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

468. Unity插件使用说明(TypeScript-3D基础(TS)-LayaAir3D之3D场景可视化编辑) [ 58%]

...ces UV` | 忽略顶点UV(忽略模型的UV贴图) | | `Ignore Vertices Color` | 忽略顶点颜色(忽略模型的顶点颜色信息) | | `Ignore Vertices Normal` | 忽略顶点法线(忽略模型的法线信息) | | `Ignore Vertices Tangent` | 忽略顶点切线信息(忽略模型的...

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

469. [LayaAir3]vertex.vertexTangent [ 58%]

...Tangent 我写的是 Laya.VertexMesh.getVertexDeclaration("POSITION,NORMAL,COLOR,TANGENT"); 顶点实际塞进去的数据位数肯定对的。 然后在shader里访问vertex.vertexColor都是没问题的,但vertex.vertexTangent就不行了。 不叫vertexTangent吗?那叫什么?最好用户...

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

470. setSixSideImageSources()传入什么参数都不对呢 [ 58%]

...问题请先登录 发起人 会飞的提莫 相关问题 2.0 drawTexture color参数无效 怎样获取浏览器地址传过来的GET参数 参照技术文档自定义Shader写的TypeScript版本,运行后 Sprite 显示尺寸不对,帮忙看下哪里要调整? 对象池对类怎么传参数 L...

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