跳到主要内容

set 设置为目标矩阵的参数

set

类型: MethodDeclaration

所属类: Matrix

定义位置: webgl.ts

描述

设置为目标矩阵的参数

参数 matrix: 目标矩阵

返回值:当前矩阵

参数

参数名类型描述默认值
matrixMatrix--

返回值

类型: this

当前矩阵

源代码

位置: 第 2609 行

public set(matrix: Matrix): this {
this[0] = matrix[0]
this[1] = matrix[1]
this[3] = matrix[3]
this[4] = matrix[4]
this[6] = matrix[6]
this[7] = matrix[7]
return this
}

文档生成时间:2025/7/7 12:07:07