Quaternion.Parse(String) Quaternion.Parse(String) Quaternion.Parse(String) Quaternion.Parse(String) Method

定義

Quaternion の文字列形式を、等価の Quaternion 構造体に変換します。Converts a string representation of a Quaternion into the equivalent Quaternion structure.

public:
 static System::Windows::Media::Media3D::Quaternion Parse(System::String ^ source);
public static System.Windows.Media.Media3D.Quaternion Parse (string source);
static member Parse : string -> System.Windows.Media.Media3D.Quaternion
Public Shared Function Parse (source As String) As Quaternion

パラメーター

source
String String String String

Quaternion の文字列形式。A string representation of a Quaternion.

戻り値

文字列で表された QuaternionQuaternion represented by the string.

try
{
    endQuaternion = Quaternion.Parse(ParseValue.Text);
}
catch
{
    ParseValue.Text = "Must input (X, Y, Z, W)";
}

endRotation.Quaternion = endQuaternion;
Try
	endQuaternion = Quaternion.Parse(ParseValue.Text)
Catch
	ParseValue.Text = "Must input (X, Y, Z, W)"
End Try

endRotation.Quaternion = endQuaternion

適用対象