📄 matrix4f.html
字号:
about the z axis.</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#set(javax.vecmath.AxisAngle4d)">set</A></B>(<A HREF="../../javax/vecmath/AxisAngle4d.html" title="class in javax.vecmath">AxisAngle4d</A> a1)</CODE><BR> Sets the value of this matrix to the matrix conversion of the double precision axis and angle argument.</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#set(javax.vecmath.AxisAngle4f)">set</A></B>(<A HREF="../../javax/vecmath/AxisAngle4f.html" title="class in javax.vecmath">AxisAngle4f</A> a1)</CODE><BR> Sets the value of this matrix to the matrix conversion of the (single precision) axis and angle argument.</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#set(float)">set</A></B>(float scale)</CODE><BR> Sets the value of this matrix to a scale matrix with the the passed scale amount.</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#set(float[])">set</A></B>(float[] m)</CODE><BR> Sets the values in this Matrix4f equal to the row-major array parameter (ie, the first four elements of the array will be copied into the first row of this matrix, etc.).</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#set(float, javax.vecmath.Vector3f)">set</A></B>(float scale, <A HREF="../../javax/vecmath/Vector3f.html" title="class in javax.vecmath">Vector3f</A> t1)</CODE><BR> Sets the value of this transform to a scale and translation matrix; the scale is not applied to the translation and all of the matrix values are 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#set(javax.vecmath.Matrix3d)">set</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 initialized as if this were an identity matrix (i.e., affine matrix with no translational component).</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#set(javax.vecmath.Matrix3d, javax.vecmath.Vector3d, double)">set</A></B>(<A HREF="../../javax/vecmath/Matrix3d.html" title="class in javax.vecmath">Matrix3d</A> m1, <A HREF="../../javax/vecmath/Vector3d.html" title="class in javax.vecmath">Vector3d</A> t1, double scale)</CODE><BR> Sets the value of this matrix from the rotation expressed by the rotation matrix m1, the translation t1, and the scale factor.</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#set(javax.vecmath.Matrix3f)">set</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 initialized as if this were an identity matrix (i.e., affine matrix with no translational component).</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#set(javax.vecmath.Matrix3f, javax.vecmath.Vector3f, float)">set</A></B>(<A HREF="../../javax/vecmath/Matrix3f.html" title="class in javax.vecmath">Matrix3f</A> m1, <A HREF="../../javax/vecmath/Vector3f.html" title="class in javax.vecmath">Vector3f</A> t1, float scale)</CODE><BR> Sets the value of this matrix from the rotation expressed by the rotation matrix m1, the translation t1, and the scale factor.</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#set(javax.vecmath.Matrix4d)">set</A></B>(<A HREF="../../javax/vecmath/Matrix4d.html" title="class in javax.vecmath">Matrix4d</A> m1)</CODE><BR> Sets the value of this matrix to the float value of the passed matrix4d 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#set(javax.vecmath.Matrix4f)">set</A></B>(<A HREF="../../javax/vecmath/Matrix4f.html" title="class in javax.vecmath">Matrix4f</A> m1)</CODE><BR> Sets the value of this matrix to a copy of the passed 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#set(javax.vecmath.Quat4d)">set</A></B>(<A HREF="../../javax/vecmath/Quat4d.html" title="class in javax.vecmath">Quat4d</A> q1)</CODE><BR> Sets the value of this matrix to the matrix conversion of the double precision quaternion argument.</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#set(javax.vecmath.Quat4d, javax.vecmath.Vector3d, double)">set</A></B>(<A HREF="../../javax/vecmath/Quat4d.html" title="class in javax.vecmath">Quat4d</A> q1, <A HREF="../../javax/vecmath/Vector3d.html" title="class in javax.vecmath">Vector3d</A> t1, double s)</CODE><BR> Sets the value of this matrix from the rotation expressed by the quaternion q1, the translation t1, and the scale s.</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#set(javax.vecmath.Quat4f)">set</A></B>(<A HREF="../../javax/vecmath/Quat4f.html" title="class in javax.vecmath">Quat4f</A> q1)</CODE><BR> Sets the value of this matrix to the matrix conversion of the single precision quaternion argument.</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#set(javax.vecmath.Quat4f, javax.vecmath.Vector3f, float)">set</A></B>(<A HREF="../../javax/vecmath/Quat4f.html" title="class in javax.vecmath">Quat4f</A> q1, <A HREF="../../javax/vecmath/Vector3f.html" title="class in javax.vecmath">Vector3f</A> t1, float s)</CODE><BR> Sets the value of this matrix from the rotation expressed by the quaternion q1, the translation t1, and the scale s.</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#set(javax.vecmath.Vector3f)">set</A></B>(<A HREF="../../javax/vecmath/Vector3f.html" title="class in javax.vecmath">Vector3f</A> v1)</CODE><BR> Sets the value of this matrix to a translate matrix with the passed translation value.</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#set(javax.vecmath.Vector3f, float)">set</A></B>(<A HREF="../../javax/vecmath/Vector3f.html" title="class in javax.vecmath">Vector3f</A> t1, float scale)</CODE><BR> Sets the value of this transform to a scale and translation matrix; the translation is scaled by the scale factor and all of the matrix values are 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#setColumn(int, float[])">setColumn</A></B>(int column, float[] v)</CODE><BR> Sets the specified column 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#setColumn(int, float, float, float, float)">setColumn</A></B>(int column, float x, float y, float z, float w)</CODE><BR> Sets the specified column 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#setColumn(int, javax.vecmath.Vector4f)">setColumn</A></B>(int column, <A HREF="../../javax/vecmath/Vector4f.html" title="class in javax.vecmath">Vector4f</A> v)</CODE><BR> Sets the specified column 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#setElement(int, int, float)">setElement</A></B>(int row, int column, float value)</CODE><BR> Sets the specified element of this matrix4f to the value 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#setIdentity()">setIdentity</A></B>()</CODE><BR> Sets this Matrix4f to identity.</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#setM00(float)">setM00</A></B>(float m00)</CODE><BR> Set the first matrix element in the first 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#setM01(float)">setM01</A></B>(float m01)</CODE><BR> Set the second matrix element in the first 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#setM02(float)">setM02</A></B>(float m02)</CODE><BR> Set the third matrix element in the first 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#setM03(float)">setM03</A></B>(float m03)</CODE><BR> Set the fourth element of the first 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#setM10(float)">setM10</A></B>(float m10)</CODE><BR> Set first 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#setM11(float)">setM11</A></B>(float m11)</CODE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -