Click or drag to resize

VectorExtensionsFormatString Method (Vector3)

print the vector components with 4 decimal places

Namespace:  ImmerseSDK.Extensions
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.5.0.0 (3.5.0.0)
Syntax
C#
public static string FormatString(
	this UnityEngine.Vector3 left
)

Parameters

left
Type: UnityEngine.Vector3

Return Value

Type: String

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type UnityEngine.Vector3. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also