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
Syntaxpublic 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:
StringA string representing the Vector3.
RemarksThe numbers in the string will be CultureInvariant (use . instead of ,).
See Also