FloatReactor - superclass: FloatController

FloatReactor - superclass: FloatController; super-superclass:MAXWrapper - 0:0 - classID: #(1904049439, 306976571) 

Value > MAXWrapper > FloatController > FloatReactor

 

   

Animation Controllers - Quick Navigation

Constructor

FloatReactor... 	 
Float_Reactor...   

FloatReactor interfaces:

Interface: reactions 

Properties

.editStateMode : boolean : Read|Write 

Get/set the edit state of the reactor controller.

   

.useCurve : boolean : Read|Write 

Get/set whether the reactor controller uses the curve control.

   

.createMode : boolean : Read|Write 

Enable/Disable the Create mode.

   

Methods

<boolean>reactTo <maxObject>object 

Set the react-to object of the reactor controller.Returns true on success, false otherwise.

   

<boolean>createname:<string> 

name default value: "scriptCreated"

Create a new reaction with the specified name. Returns true on success.

   

<boolean>delete <index>index 

Delete the indexed reaction. Returns true on success.

   

<integer>getCount () 

Returns the number of reactions.

   

<void>select <index>index 

Select the indexed reaction.

   

<index>getSelected () 

Returns the selected reaction’s index.

   

<boolean>setStateToCurrent <index>index 

Sets the indexed reaction’s state to the current state. Returns true on success.

   

<boolean>setFloatState <index>index <float>state 

Sets the state of the indexed reaction in a float reactor controller to the specified float value. Returns true on success.

   

<boolean>setVectorState <index>index <point3>state 

Sets the state of the indexed reaction in a point3 reactor controller to the specified float value. Returns true on success.

   

<boolean>setRotationState <index>index <quat>state 

Sets the state of the indexed reaction in a rotation reactor controller to the specified float value

   

<fpvalue>getState <index>index 

Returns the state of the indexed reaction.

   

<boolean>setValueToCurrent <index>index 

Sets the value of the indexed reaction to the current value. Returns true on success.

   

<boolean>setValueAsFloat <index>index <float>value 

Sets the value of the indexed reaction to the specified float value. Returns true on success.

   

<boolean>setValueAsVector <index>index <point3>value 

Sets the value of the indexed reaction to the specified point3 value. Returns true on success.

   

<boolean>setValueAsQuat <index>index <quat>value 

Sets the value of the indexed reaction to the specified quaternion value. Returns true on success.

   

<fpvalue>getValue <index>index 

Returns the value of the indexed reaction.

   

<boolean>setInfluence <index>index <float>influence 

Sets the influence of the indexed reaction to the specified float value. Returns true on success.

   

<float>getInfluence <index>index 

Returns the influence of the indexed reaction.

   

<boolean>setStrength <index>index <float>strength 

Sets the strength of the indexed reaction to the specified float value. Returns true on success.

   

<float>getStrength <index>index 

Returns the strength of the indexed reaction.

   

<boolean>setFalloff <index>index <float>influence 

Sets the falloff of the indexed reaction to the specified float value. Returns true on success.

   

<float>getFalloff <index>index 

Returns the falloff of the indexed reaction.

   

<void>setName <index>index <string>name 

Sets the name of the indexed reaction to the specified string. Returns true on success.

   

<string>getName <index>index 

Returns the name of the indexed reaction.

   

<enum>getType () 

   

getType enums: {#floatReaction|#positionalReaction|#rotationalReaction|#scaleReaction} 

Returns the falloff of the indexed reaction.

   

Actions:

   

See Also