本文整理汇总了VB.NET中System.Windows.Media.Media3D.MatrixTransform3D.Matrix属性的典型用法代码示例。如果您正苦于以下问题:VB.NET MatrixTransform3D.Matrix属性的具体用法?VB.NET MatrixTransform3D.Matrix怎么用?VB.NET MatrixTransform3D.Matrix使用的例子?那么, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在类System.Windows.Media.Media3D.MatrixTransform3D
的用法示例。
在下文中一共展示了MatrixTransform3D.Matrix属性的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的VB.NET代码示例。
示例1:
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