Houdini: exhelp clamp


clamp: クランプ機能。最小値より値が小さければ、最小値が適応され、最大値より値が大きければ、最大値が適応される。

float clamp (float value, float minimum, float maximum)



        REPLACED BY
            hou.hmath.clamp()
        
        Returns a value clamped between a minimum and maximum.
        
        This is useful to prevent the value from going outside the specified
        range.
        
        If the value is less than the minimum number, the minimum number will be
        returned. If the value is greater than the maximum number, the maximum
        number will be returned.

0 コメント:

コメントを投稿