NullableVector4.

ToVector3(Vector3) Method

Summary

Returns a new UnityEngine.Vector3 using components of this vector. Any components which are null will instead use the corresponding component of the specified `fallback`.

Syntax

public Vector3 ToVector3(Vector3 fallback)

Parameters

Name Type Description
fallback Vector3

Return Value

Type Description
Vector3