Method | Description | |
---|---|---|
ToMat2 ( this values, int startIndex ) : CSharpGL.mat2 |
把连续4个float值按照列优先的顺序转换为mat2
|
|
ToMat3 ( this values, int startIndex ) : mat3 |
把连续9个float值按照列优先的顺序转换为mat3
|
|
ToMat4 ( this values, int startIndex ) : CSharpGL.mat4 |
把连续16个float值按照列优先的顺序转换为mat4
|
|
TryParse ( this matrix, float &fovy, float &aspectRatio, float &zNear, float &zFar ) : bool |
如果此矩阵是glm.perspective()的结果,那么返回glm.perspective()的各个参数值。
|
|
TryParse ( this matrix, float &left, float &right, float &bottom, float &top, float &zNear, float &zFar ) : bool |
如果此矩阵是glm.ortho()的结果,那么返回glm.ortho()的各个参数值。
|
public static ToMat2 ( this values, int startIndex ) : CSharpGL.mat2 | ||
values | this | |
startIndex | int | |
return | CSharpGL.mat2 |
public static ToMat3 ( this values, int startIndex ) : mat3 | ||
values | this | |
startIndex | int | |
return | mat3 |
public static ToMat4 ( this values, int startIndex ) : CSharpGL.mat4 | ||
values | this | |
startIndex | int | |
return | CSharpGL.mat4 |
public static TryParse ( this matrix, float &fovy, float &aspectRatio, float &zNear, float &zFar ) : bool | ||
matrix | this | |
fovy | float | |
aspectRatio | float | |
zNear | float | |
zFar | float | |
return | bool |
public static TryParse ( this matrix, float &left, float &right, float &bottom, float &top, float &zNear, float &zFar ) : bool | ||
matrix | this | |
left | float | |
right | float | |
bottom | float | |
top | float | |
zNear | float | |
zFar | float | |
return | bool |