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

大约有 2,796 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0162 秒)

2791. 自定义2D Shader · LayaAir3.4 · 引擎文档 · LAYABOX [ 26%]

...对应的VS和FS片段标记。 7.2 顶点着色器 在VS片段中,需要获取顶点信息,并计算最终的顶点位置,代码如下所示: #defineGLSL textureVS #define SHADER_NAME Sprite2DTextureShader #include "Sprite2DVertex.glsl"; void main() { vertexInfo info; getVertexInfo(info); v...

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

2792. laya.d3.physicscannon.CannonRigidbody3D_API3.0 [ 25%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...

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

2793. laya.d3.component.volume.reflectionprobe.ReflectionProbe_API3.0 [ 24%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...

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

2794. laya.display.Graphics_API3.0 [ 24%]

...nds(realSize?: boolean): Rectangle Defined in laya/display/Graphics.ts:201 获取位置及宽高信息矩阵(比较耗CPU,频繁使用会造成卡顿,尽量少用)。 Parameters Default value realSize: boolean = false (可选)使用图片的真实大小,默认为false Returns Rectangle 位...

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

2795. 自定义3D Shader · LayaAir3.4 · 引擎文档 · LAYABOX [ 19%]

...在应用处理阶段被整合为基本片元(三角形),从模型中获取到不同的属性坐标信息,图12-1红色框选部分为应用处理阶段。 (图12-1) 12.2 顶点着色器阶段 应用阶段完成计算后的一些值作为uniform传入顶点着色器参与计算,然后...

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

2796. 纹理资源 · LayaAir3.4 · 引擎文档 · LAYABOX [ 16%]

...一份可访问的纹理数据,以便在运行时执行以下操作: 获取像素颜色值(如拾取、取样分析); 动态修改像素(如绘制笔刷、纹理混合)。 开启后,纹理的内存占用将约增加一倍,并降低加载性能。 建议仅在需要脚本动态读...

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