27 Slicer 27 Slicer
Search Results for

    Show / Hide Table of Contents

    Method BuildInverseTransformMatrix

    BuildInverseTransformMatrix(Transform, Transform)

    Builds an inverse transform matrix that transforms childTransform into the Local Object Space of rootTransform.

    Declaration
    public static Matrix4x4 BuildInverseTransformMatrix(Transform childTransform, Transform rootTransform)
    Parameters
    TypeNameDescription
    TransformchildTransform

    The transform used to build the Matrix

    TransformrootTransform

    The transform to use as the Local Object Space

    Returns
    TypeDescription
    Matrix4x4

    Returns a transform matrix in Local Object Space of the GameObject the rootTransform.

      ☀
      ☾
      In This Article
      Back to top
      27 Slicer documentation | Copyright 2021 Deftly Games
      ☀
      ☾