Interface IProvidesGetDefaultRayColor | Unity Reflect | 1.1.0-preview.6
docs.unity.cn
    Show / Hide Table of Contents

    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

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX