MatrixTransform3D.Matrix Özellik
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
3-B dönüştürmeyi belirten bir alır veya ayarlar Matrix3D .
public:
property System::Windows::Media::Media3D::Matrix3D Matrix { System::Windows::Media::Media3D::Matrix3D get(); void set(System::Windows::Media::Media3D::Matrix3D value); };
public System.Windows.Media.Media3D.Matrix3D Matrix { get; set; }
member this.Matrix : System.Windows.Media.Media3D.Matrix3D with get, set
Public Property Matrix As Matrix3D
Özellik Değeri
3-B dönüştürmeyi belirten bir Matrix3D.
Örnekler
try
{
Double setM11 = System.Convert.ToDouble(M11Text.Text);
Double setM21 = System.Convert.ToDouble(M21Text.Text);
Double setM31 = System.Convert.ToDouble(M31Text.Text);
Double setOffsetX = System.Convert.ToDouble(OffsetXText.Text);
Double setM12 = System.Convert.ToDouble(M12Text.Text);
Double setM22 = System.Convert.ToDouble(M22Text.Text);
Double setM32 = System.Convert.ToDouble(M32Text.Text);
Double setOffsetY = System.Convert.ToDouble(OffsetYText.Text);
Double setM13 = System.Convert.ToDouble(M13Text.Text);
Double setM23 = System.Convert.ToDouble(M23Text.Text);
Double setM33 = System.Convert.ToDouble(M33Text.Text);
Double setOffsetZ = System.Convert.ToDouble(OffsetZText.Text);
Double setM14 = System.Convert.ToDouble(M14Text.Text);
Double setM24 = System.Convert.ToDouble(M24Text.Text);
Double setM34 = System.Convert.ToDouble(M34Text.Text);
Double setM44 = System.Convert.ToDouble(M44Text.Text);
endMatrix3D = new Matrix3D(setM11, setM12, setM13, setM14, setM21, setM22, setM23, setM24, setM31, setM32, setM33, setM34, setOffsetX, setOffsetY, setOffsetZ, setM44);
myMatrixTransform3D.Matrix = endMatrix3D;
}
catch
{
MessageBox.Show("Set Matrix3D values or rotation values before transforming");
}
Try
Dim setM11 As Double = Convert.ToDouble(M11Text.Text)
Dim setM21 As Double = Convert.ToDouble(M21Text.Text)
Dim setM31 As Double = Convert.ToDouble(M31Text.Text)
Dim setOffsetX As Double = Convert.ToDouble(OffsetXText.Text)
Dim setM12 As Double = Convert.ToDouble(M12Text.Text)
Dim setM22 As Double = Convert.ToDouble(M22Text.Text)
Dim setM32 As Double = Convert.ToDouble(M32Text.Text)
Dim setOffsetY As Double = Convert.ToDouble(OffsetYText.Text)
Dim setM13 As Double = Convert.ToDouble(M13Text.Text)
Dim setM23 As Double = Convert.ToDouble(M23Text.Text)
Dim setM33 As Double = Convert.ToDouble(M33Text.Text)
Dim setOffsetZ As Double = Convert.ToDouble(OffsetZText.Text)
Dim setM14 As Double = Convert.ToDouble(M14Text.Text)
Dim setM24 As Double = Convert.ToDouble(M24Text.Text)
Dim setM34 As Double = Convert.ToDouble(M34Text.Text)
Dim setM44 As Double = Convert.ToDouble(M44Text.Text)
end_Matrix3D = New Matrix3D(setM11, setM12, setM13, setM14, setM21, setM22, setM23, setM24, setM31, setM32, setM33, setM34, setOffsetX, setOffsetY, setOffsetZ, setM44)
myMatrixTransform3D.Matrix = end_Matrix3D
Catch
MessageBox.Show("Set Matrix3D values or rotation values before transforming")
End Try
Açıklamalar
Bağımlılık Özelliği Bilgileri
Tanımlayıcı alanı | MatrixProperty |
Meta veri özellikleri olarak ayarlandı true |
Hiçbiri |