Home Reference VEX VEX functions 

floor vex function

Contexts: chop , cop , displace , fog , image3d , light , photon , pop , shadow , sop , surface

Tags: math

Returns the largest integer less than or equal to the argument

  1. int floor(float )

  2. float floor(float )

  3. vector floor(vector )

  4. vector4 floor(vector4 )

Returns the largest integer less than or equal to the argument