float_limit : FloatController

float_limit - superclass: FloatController; super-superclass:MAXWrapper - 6:0 - classID: #(387087934, 0)

The Float_Limit controller can be used to limit the values of another controller to a user-defined value range. Available in 3ds Max 8 and higher.

Constructor

float_limit ...

FloatLimitCtrl ...

Properties:

.enable BooleanClass default: true -- boolean

Enable and disable the limit controller.

.lower_limit Float default: -10000.0 -- animatable; float

Get and set the lower limit of the controller.

.lower_limit_enabled BooleanClass default: true -- boolean

Enable and disable the use of the lower limit.

.static_value Float default: 0.0 -- float

Get and set the static value of the limit controller.

.upper_limit Float default: 10000.0 -- animatable; float

Get and set the upper limit of the controller.

.upper_limit_enabled BooleanClass default: true -- boolean

Enable and disable the use of the upper limit.

float_limit interfaces:

Interface: limits

Methods:

IsEnabled()

Returns true if the limit controller is enabled, false otherwise.

SetEnabled enabled

Sets the enabled state of the controller to the boolean value.

GetLimitedControl()

Returns the controller which is being limited.

SetLimitedControl limitedCtrl

Sets the controller to be limited.

SetUpperLimit

value is In and Out parameter

Sets the upper limit of the controller at the specified time to the given value.

SetLowerLimit

value is In and Out parameter

Sets the lower limit of the controller at the specified time to the given value.