📄 matrix4f.html
字号:
<BR> Set the second matrix element in the second row.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4f.html#setM12(float)">setM12</A></B>(float m12)</CODE><BR> Set the third matrix element in the second row.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4f.html#setM13(float)">setM13</A></B>(float m13)</CODE><BR> Set the fourth element of the second row.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4f.html#setM20(float)">setM20</A></B>(float m20)</CODE><BR> Set the first matrix element in the third row.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4f.html#setM21(float)">setM21</A></B>(float m21)</CODE><BR> Set the second matrix element in the third row.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4f.html#setM22(float)">setM22</A></B>(float m22)</CODE><BR> Set the third matrix element in the third row.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4f.html#setM23(float)">setM23</A></B>(float m23)</CODE><BR> Set the fourth element of the third row.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4f.html#setM30(float)">setM30</A></B>(float m30)</CODE><BR> Set the first element of the fourth row.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4f.html#setM31(float)">setM31</A></B>(float m31)</CODE><BR> Set the second element of the fourth row.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4f.html#setM32(float)">setM32</A></B>(float m32)</CODE><BR> Set the third element of the fourth row.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4f.html#setM33(float)">setM33</A></B>(float m33)</CODE><BR> Set the fourth element of the fourth row.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4f.html#setRotation(javax.vecmath.AxisAngle4f)">setRotation</A></B>(<A HREF="../../javax/vecmath/AxisAngle4f.html" title="class in javax.vecmath">AxisAngle4f</A> a1)</CODE><BR> Sets the rotational component (upper 3x3) of this matrix to the matrix equivalent values of the axis-angle argument; the other elements of this matrix are unchanged; a singular value decomposition is performed on this object's upper 3x3 matrix to factor out the scale, then this object's upper 3x3 matrix components are replaced by the matrix equivalent of the axis-angle, and then the scale is reapplied to the rotational components.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4f.html#setRotation(javax.vecmath.Matrix3d)">setRotation</A></B>(<A HREF="../../javax/vecmath/Matrix3d.html" title="class in javax.vecmath">Matrix3d</A> m1)</CODE><BR> Sets the rotational component (upper 3x3) of this matrix to the matrix values in the double precision Matrix3d argument; the other elements of this matrix are unchanged; a singular value decomposition is performed on this object's upper 3x3 matrix to factor out the scale, then this object's upper 3x3 matrix components are replaced by the passed rotation components, and then the scale is reapplied to the rotational components.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4f.html#setRotation(javax.vecmath.Matrix3f)">setRotation</A></B>(<A HREF="../../javax/vecmath/Matrix3f.html" title="class in javax.vecmath">Matrix3f</A> m1)</CODE><BR> Sets the rotational component (upper 3x3) of this matrix to the matrix values in the single precision Matrix3f argument; the other elements of this matrix are unchanged; a singular value decomposition is performed on this object's upper 3x3 matrix to factor out the scale, then this object's upper 3x3 matrix components are replaced by the passed rotation components, and then the scale is reapplied to the rotational components.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4f.html#setRotation(javax.vecmath.Quat4d)">setRotation</A></B>(<A HREF="../../javax/vecmath/Quat4d.html" title="class in javax.vecmath">Quat4d</A> q1)</CODE><BR> Sets the rotational component (upper 3x3) of this matrix to the matrix equivalent values of the quaternion argument; the other elements of this matrix are unchanged; a singular value decomposition is performed on this object's upper 3x3 matrix to factor out the scale, then this object's upper 3x3 matrix components are replaced by the matrix equivalent of the quaternion, and then the scale is reapplied to the rotational components.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4f.html#setRotation(javax.vecmath.Quat4f)">setRotation</A></B>(<A HREF="../../javax/vecmath/Quat4f.html" title="class in javax.vecmath">Quat4f</A> q1)</CODE><BR> Sets the rotational component (upper 3x3) of this matrix to the matrix equivalent values of the quaternion argument; the other elements of this matrix are unchanged; a singular value decomposition is performed on this object's upper 3x3 matrix to factor out the scale, then this object's upper 3x3 matrix components are replaced by the matrix equivalent of the quaternion, and then the scale is reapplied to the rotational components.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4f.html#setRotationScale(javax.vecmath.Matrix3f)">setRotationScale</A></B>(<A HREF="../../javax/vecmath/Matrix3f.html" title="class in javax.vecmath">Matrix3f</A> m1)</CODE><BR> Replaces the upper 3x3 matrix values of this matrix with the values in the matrix m1.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4f.html#setRow(int, float[])">setRow</A></B>(int row, float[] v)</CODE><BR> Sets the specified row of this matrix4f to the four values provided in the passed array.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4f.html#setRow(int, float, float, float, float)">setRow</A></B>(int row, float x, float y, float z, float w)</CODE><BR> Sets the specified row of this matrix4f to the four values provided.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4f.html#setRow(int, javax.vecmath.Vector4f)">setRow</A></B>(int row, <A HREF="../../javax/vecmath/Vector4f.html" title="class in javax.vecmath">Vector4f</A> v)</CODE><BR> Sets the specified row of this matrix4f to the Vector provided.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4f.html#setScale(float)">setScale</A></B>(float scale)</CODE><BR> Sets the scale component of the current matrix by factoring out the current scale (by doing an SVD) from the rotational component and multiplying by the new scale.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4f.html#setTranslation(javax.vecmath.Vector3f)">setTranslation</A></B>(<A HREF="../../javax/vecmath/Vector3f.html" title="class in javax.vecmath">Vector3f</A> trans)</CODE><BR> Modifies the translational components of this matrix to the values of the Vector3f argument; the other values of this matrix are not modified.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4f.html#setZero()">setZero</A></B>()</CODE><BR> Sets this matrix to all zeros.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4f.html#sub(javax.vecmath.Matrix4f)">sub</A></B>(<A HREF="../../javax/vecmath/Matrix4f.html" title="class in javax.vecmath">Matrix4f</A> m1)</CODE><BR> Sets this matrix to the matrix difference of itself and matrix m1 (this = this - m1).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4f.html#sub(javax.vecmath.Matrix4f, javax.vecmath.Matrix4f)">sub</A></B>(<A HREF="../../javax/vecmath/Matrix4f.html" title="class in javax.vecmath">Matrix4f</A> m1, <A HREF="../../javax/vecmath/Matrix4f.html" title="class in javax.vecmath">Matrix4f</A> m2)</CODE><BR> Performs an element-by-element subtraction of matrix m2 from matrix m1 and places the result into matrix this (this = m2 - m1).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4f.html#toString()">toString</A></B>()</CODE><BR> Returns a string that contains the values of this Matrix4f.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4f.html#transform(javax.vecmath.Point3f)">transform</A></B>(<A HREF="../../javax/vecmath/Point3f.html" title="class in javax.vecmath">Point3f</A> point)</CODE><BR> Transforms the point parameter with this Matrix4f and places the result back into point.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/vecmath/Matrix4f.html#transform(java
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -