Value Property
Collapse the table of content
Expand the table of content

Transform3D.Value Property

 

Gets the Matrix3D that represents the value of the current transformation.

Namespace:   System.Windows.Media.Media3D
Assembly:  PresentationCore (in PresentationCore.dll)

public abstract Matrix3D Value { get; }

Property Value

Type: System.Windows.Media.Media3D.Matrix3D

Matrix3D that represents the value of the current transformation.

//Read new settings
try
{
    Double WValue = System.Convert.ToDouble(QuaternionWText.Text);
    Double XValue = System.Convert.ToDouble(QuaternionXText.Text);
    Double YValue = System.Convert.ToDouble(QuaternionYText.Text);
    Double ZValue = System.Convert.ToDouble(QuaternionZText.Text);

    endQuaternion = new Quaternion(XValue, YValue, ZValue, WValue);
}
catch
{
    MessageBox.Show("Set non-null values for the quaternion.");
}

myQuaternionRotation3D = new QuaternionRotation3D(endQuaternion);
myRotateTransform3D.Rotation = myQuaternionRotation3D;

//update matrix display
qrotationMatrix3D = myRotateTransform3D.Value;

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft