Click or drag to resize

UtilFormat Method

Convert a Vector3 value to a string with the given separator character.

Namespace:  Demo3D.Common
Assembly:  Demo3D.Common (in Demo3D.Common.dll) Version: 15.0.2.11458
Syntax
C#
public static string Format(
	Vector3 v,
	char separator = ''
)

Parameters

v
Type: Microsoft.DirectXVector3
The Vector3 to convert to s string.
separator (Optional)
Type: SystemChar
The character to use to separate the x from the y, and the y from the z.

Return Value

Type: String
A string representing the Vector3.
Remarks
The numbers in the string will be CultureInvariant (use . instead of ,).
See Also