Interface IProvidesGetRayVisibility
Provide the ability to get the visibility of rays
Namespace: Unity.Labs.EditorXR.Interfaces
Syntax
public interface IProvidesGetRayVisibility : IFunctionalityProvider
Methods
IsConeVisible(Transform)
Returns whether the specified cone is visible
Declaration
bool IsConeVisible(Transform rayOrigin)
Parameters
| Type | Name | Description |
|---|---|---|
| Transform | rayOrigin | The rayOrigin that is being checked |
Returns
| Type | Description |
|---|---|
| Boolean | Whether the cone is visible |
IsRayVisible(Transform)
Returns whether the specified ray is visible
Declaration
bool IsRayVisible(Transform rayOrigin)
Parameters
| Type | Name | Description |
|---|---|---|
| Transform | rayOrigin | The rayOrigin that is being checked |
Returns
| Type | Description |
|---|---|
| Boolean | Whether the ray is visible |