편집

다음을 통해 공유


VectorExtensions.IsValidVector(Vector3) Method

Definition

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.

Applies to