Vector3Ext.DifferentComponentCount Method

Gets the number of components that are different between two vectors.

Namespace: UltimateXR.Extensions.Unity.Math
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0

Syntax

C#

public static int DifferentComponentCount(
	Vector3 a,
	Vector3 b
)

Parameters

 

a
Type: Vector3
First vector
b
Type: Vector3
Second vector

Return Value

Type: Int32
The number of components [0, 3] that are different

See Also

Reference

Vector3Ext Class
UltimateXR.Extensions.Unity.Math Namespace