AutoMovie API
    Preparing search index...

    Function setPieceScale

    • A set piece's optional size multiplier as the node transform's scale.

      Omitted keeps the model's authored size, a number scales uniformly, and a vector scales per axis and is returned as given. One forged primitive can therefore stand in for a wall, a step and a table top, the same box at three sizes. The result is not validated here: stageScene refuses a non-finite or non-positive axis.

      Parameters

      • scale: number | IAutoMovieVector3 | undefined

        The authored multiplier, or undefined.

      Returns IAutoMovieVector3

      The per-axis scale.