API 参考webgl 模块translateY 垂直平移On this pagetranslateY 垂直平移translateY 类型: MethodDeclaration 所属类: Matrix 定义位置: webgl.ts 描述 垂直平移 参数 y: 水平偏移距离 返回值:当前矩阵 参数 参数名类型描述默认值ynumber-- 返回值 类型: this 当前矩阵 源代码 位置: 第 2761 行 public translateY(y: number): this { this[6] += this[3] * y this[7] += this[4] * y return this } 文档生成时间:2025/7/7 12:07:07