VectorExtensions.IsValidVector(Vector3) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Validates that each 3D vector components is a number and is not infinite.
public:
[System::Runtime::CompilerServices::Extension]
static bool IsValidVector(UnityEngine::Vector3 vector);
public static bool IsValidVector (this UnityEngine.Vector3 vector);
static member IsValidVector : UnityEngine.Vector3 -> bool
<Extension()>
Public Function IsValidVector (vector As Vector3) As Boolean
Parameters
- vector
- UnityEngine.Vector3
The 3D vector whose components will be tested.
Returns
true
is all 3D vector components are a numbers and are not infinite, otherwise false
.