scale3d_model(3)

πŸ“¦
version 0.7.1 Β· 2 versions
, in nixos 26.05

πŸ’… scale3d_model(3) β€” Arcan Lua API

okay so bestie, you're about to make a 3D model go big or go smol, and honestly? iconic behavior.


✨ NAME ✨

scale3d_model β€” apply or schedule a scale transform on a 3D model πŸŽ€


🌸 SYNOPSIS 🌸

nil
scale3d_model( vid:model, float:sx, float:sy, float:sz )
scale3d_model( .B )
scale3d_model( vid:model, float:sx, float:sy, float:sz, uint:time=0 )
scale3d_model( .B )
scale3d_model( vid:model, float:sx, float:sy, float:sz, uint:time,
uint:interp=INTERP_LINEAR )

yes, all three of those. no, don't ask me about the .B lines, they're just vibing there πŸ’€


πŸ¦‹ DESCRIPTION πŸ¦‹

This function scales the model across all three axes by the factor you pass in β€” and the whole thing is measured relative to the model's initial scale state of 1,1,1. So like, that's the neutral baseline, the "default settings" of scale, the no-makeup look 🫢

If the optional time argument is set, the transform gets appended to the end of the scale transform queue β€” it waits its turn, politely, in line πŸ’…

But if you don't pass time? Then the queue gets cleared and the transform is applied immediately. no queue, no waiting, just instant glow-up ⚑

ok so lowkey important: the no-time path clears the existing scale transform queue. if you had stuff queued up, it's gone. just so you know 😭

πŸ‘‘ SEE ALSO πŸ‘‘

go read those next, they're literally the rest of the 3D model fam 🌈


mwah πŸ’‹ that's the page! this icon came from the 3d manual, version vibes of October 2026 β€” scale3d_model(3), periodt. πŸ“βœ¨

πŸ“¦ where this page comes from