Click or drag to resize
MathConversionExtensionsToVector3 Method (Vector3F)
Converts the specified framework vector to an Unity vector.

Namespace: Slash.Unity.Common.Math
Assembly: Slash.Unity.Common (in Slash.Unity.Common.dll) Version: 1.0.6018.40182
Syntax
public static Vector3 ToVector3(
	this Vector3F vector
)

Parameters

vector
Type: Slash.Math.Algebra.VectorsVector3F
Vector to convert.

Return Value

Type: Vector3
Corresponding Unity vector.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Vector3F. 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