Quaternion.ToString 方法

定義

傳回表示這個四元數的字串。Returns a string that represents this quaternion.

public:
 override System::String ^ ToString();
public override string ToString ();
override this.ToString : unit -> string
Public Overrides Function ToString () As String

傳回

此四元數的字串表示。The string representation of this quaternion.

備註

傳回字串中的數值是使用目前文化特性的慣例來格式化。The numeric values in the returned string are formatted by using the conventions of the current culture. 例如,針對 en-us 文化特性,傳回的字串可能會顯示為 {X:1.1 Y:2.2 Z:3.3 W:4.4}For example, for the en-US culture, the returned string might appear as {X:1.1 Y:2.2 Z:3.3 W:4.4}.

適用於