Edit

Share via


RayExtensions.IsValid(Ray) Method

Definition

Determines whether or not a ray is valid.

public:
[System::Runtime::CompilerServices::Extension]
 static bool IsValid(UnityEngine::Ray ray);
public static bool IsValid (this UnityEngine.Ray ray);
static member IsValid : UnityEngine.Ray -> bool
<Extension()>
Public Function IsValid (ray As Ray) As Boolean

Parameters

ray
UnityEngine.Ray

The ray being tested.

Returns

True if the ray is valid, false otherwise.

Applies to