Node.setRelativeTo

Calculates the relative position between this node and a matrix and applies the offset. This does not handle zSorting. Pass a Node for that.

  1. void setRelativeTo(Node to)
  2. void setRelativeTo(mat4 to)
    class Node
    void
    setRelativeTo
    (
    mat4 to
    )

Meta