RayExtensions.IsValid(Ray) 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.
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.