Class RayExtensions
Extension methods for Unity's Ray struct
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit
Assembly: cs.temp.dll.dll
Syntax
public static class RayExtensions
Methods
IsValid(Ray)
Determines whether or not a ray is valid.
Declaration
public static bool IsValid(this Ray ray)
Parameters
Type | Name | Description |
---|---|---|
Ray | ray | The ray being tested. |
Returns
Type | Description |
---|---|
Boolean | True if the ray is valid, false otherwise. |
IsValid(Ray)
Determines whether or not a ray is valid.
Declaration
public static bool IsValid(this Ray ray)
Parameters
Type | Name | Description |
---|---|---|
Ray | ray | The ray being tested. |
Returns
Type | Description |
---|---|
Boolean | True if the ray is valid, false otherwise. |