AutoMovie API
    Preparing search index...

    Function setPieceTransform

    • The world transform a staged set piece's node carries.

      Translation is position. Rotation is the authored unit rotation when present, else a turn of facingDeg degrees about world up, 0 facing +Z when that is omitted too. Scale is setPieceScale's reading of the optional size multiplier. stageScene refuses a piece that states both rotation and facingDeg, so the precedence only decides input that reaches this helper unvalidated.

      Parameters

      Returns IAutoMovieTransform

      A transform that shares position, an authored rotation and a vector scale with the piece rather than copying them.