printMatrix()

本参考资料用于Processing 3.0+。 如果你使用的是前一版本,请在使用软件帮助菜单内的参考资料。. If you see any errors or have suggestions, please let us know. If you prefer a more technical reference, visit the Processing Core Javadoc and Libraries Javadoc.

名称

printMatrix()

示例
 size(100, 100, P3D);

printMatrix();

// Prints: // 01.0000  00.0000  00.0000 -50.0000 // 00.0000  01.0000  00.0000 -50.0000 // 00.0000  00.0000  01.0000 -86.6025 // 00.0000  00.0000  00.0000  01.0000  resetMatrix();

printMatrix();

// Prints: // 1.0000  0.0000  0.0000  0.0000 // 0.0000  1.0000  0.0000  0.0000 // 0.0000  0.0000  1.0000  0.0000 // 0.0000  0.0000  0.0000  1.0000 
描述 Prints the current matrix to the Console (the text window at the bottom of Processing).
语法
printMatrix()
返回值 void
相关 pushMatrix()
popMatrix()
resetMatrix()
applyMatrix()

Updated on October 2, 2018 05:02:09pm EDT

printMatrix()