AutoMovie API
    Preparing search index...

    Function transformAutoMovieDrawingPoint

    • Apply a column-major 4x4 affine matrix to a point.

      The matrix is the sixteen-number column-major array Matrix4.compose and Matrix4.multiply produce, with the translation in elements 12 to 14. The projective row is ignored, so the matrix must be affine, which every composed TRS matrix is.

      Parameters

      • matrix: readonly number[]

        Column-major affine matrix of sixteen numbers.

      • point: IAutoMovieVector3

        Point to transform.

      Returns IAutoMovieVector3

      The transformed point, in the matrix's target frame.