docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method InverseTransformRay

    InverseTransformRay(Transform, Ray)

    Inverse transforms a Ray

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

    The Transform component

    Ray ray

    The Ray to inversely transform

    Returns
    Type Description
    Ray

    A new Ray representing the inversely transformed ray

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