Interface IProvidesGetDefaultRayColor
Provide access to the default ray color
Namespace: Unity.Labs.EditorXR.Interfaces
Syntax
public interface IProvidesGetDefaultRayColor : IFunctionalityProvider
Methods
GetDefaultRayColor(Transform)
Get the color of the default ray
Declaration
Color GetDefaultRayColor(Transform rayOrigin)
Parameters
Type | Name | Description |
---|---|---|
Transform | rayOrigin | The ray whose color to get |
Returns
Type | Description |
---|---|
Color | The color of the default ray for the given ray origin |