docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method TransformRay

    TransformRay(Transform, Ray)

    Transforms a Ray

    Declaration
    public static Ray TransformRay(this Transform transform, Ray ray)
    Parameters
    Type Name Description
    Transform transform

    The Transform component

    Ray ray

    The Ray to transform

    Returns
    Type Description
    Ray

    A new Ray representing the transformed ray

    In This Article
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Friday, September 22, 2023