AutoMovie API
    Preparing search index...

    Function propClearanceBounds

    • The world-axis-aligned keep-out volumes one staged prop declares, one per placement.clearance entry in declaration order, each keeping its id.

      Each model-local box goes through the piece's full staged transform, so a rotated prop's keep-out widens rather than being re-fitted. Every declared box is transformed, including one whose bounds the validator rejects: filtering here would hide a malformed volume from a source-side search instead of letting validatePropPlacements name it. A prop with no placement or no clearance answers an empty list.

      Parameters

      • props: IAutoMoviePropClearanceBounds.IProps

        The world-axis-aligned keep-out volumes one staged prop declares, one per placement.clearance entry in declaration order, each keeping its id.

        Each model-local box goes through the piece's full staged transform, so a rotated prop's keep-out widens rather than being re-fitted. Every declared box is transformed, including one whose bounds the validator rejects: filtering here would hide a malformed volume from a source-side search instead of letting validatePropPlacements name it. A prop with no placement or no clearance answers an empty list.

        • piece: IAutoMovieStageSetPiece

          Borrowed staged placement for this prop. Its position, explicit rotation or facingDeg, and scale transform every clearance; matching the prop node is the caller's obligation.

        • prop: IAutoMoviePropSpec

          Borrowed registry entry containing model-local placement.clearance boxes. Missing placement or clearance yields no boxes.

      Returns IAutoMoviePropClearanceBounds[]

      New world boxes in metres, one per declared clearance.