Click or drag to resize

TransformExtensionsCompare Method

Returns True if they are the same, otherwise false

Namespace:  ImmerseSDK.Extensions
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.9.0.0 (3.9.0.0)
Syntax
C#
public static bool Compare(
	this UnityEngine.Vector3 position,
	UnityEngine.Vector3 target,
	float tolerance
)

Parameters

position
Type: UnityEngine.Vector3
target
Type: UnityEngine.Vector3
tolerance
Type: SystemSingle

Return Value

Type: Boolean

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