New Default Controller Functions

NEW in 3ds Max 2017: The following functions create instances of the default controller class for each animatable value type. If the default controller has been customized by the user, the respective function below will return an instance of the customized class. The default controller for each animatable value type can be customized in the “Assign ... Controller” dialog accessible through Track View.

   

Functions:

<controller>NewDefaultBoolController()

Returns an instance of the default controller class used for storing animated Boolean values.

Default is a Bezier_Float controller.

   

<controller>NewDefaultColorController()

Returns an instance of the default controller class used for storing animated Color values.

Default is a Bezier_Color controller.

   

<controller>NewDefaultFloatController()

Returns an instance of the default controller class used for storing animated Float values.

Default is a Bezier_Float controller.

   

<controller>NewDefaultFRGBAController()

Returns an instance of the default controller class used for storing animated floating point Color and Alpha values.

Default is a Bezier_RGBA_Color controller.

   

<controller>NewDefaultMasterPointController()

Returns an instance of the default controller class used for storing animated vertices.

Default is a MasterPointControlImp controller.

   

<controller>NewDefaultMatrix3Controller()

Returns an instance of the default controller class used for storing animated Matrix3 values.

Default is a Position_Rotation_Scale controller with a Position_XYZ sub-controller for Position containing three Bezier_Float sub-controllers for X_Position, Y_Position, and Z_Position; a Eurler_XYZ sub-controller for Rotation with three Bezier_Float sub-controllers for X_Rotation, Y_Rotation, and Z_Rotation; and a Bezier_Scale controller for scaling.

   

<controller>NewDefaultPoint2Controller()

Returns an instance of the default controller class used for storing animated Point2 values.

Default is a Bezier_Point2 controller.

   

<controller>NewDefaultPoint3Controller()

Returns an instance of the default controller class used for storing animated Point3 values.

Default is a Bezier_Point3 controller.

   

<controller>NewDefaultPoint4Controller()

Returns an instance of the default controller class used for storing animated Point4 values.

Default is a Bezier_Point4 controller.

   

<controller>NewDefaultPositionController()

Returns an instance of the default controller class used for storing animated Position values.

Default is a Position_XYZ controller with three Bezier_Float sub-controllers for X_Position, Y_Position and Z_Position.

   

controller>NewDefaultRotationController()

Returns an instance of the default controller class used for storing animated Rotation values.

Default is a Euler_XYZ controller with three Bezier_Float sub-controllers for X_Rotation, Y_Rotation and Z_Rotation.

   

<controller>NewDefaultScaleController()

Returns an instance of the default controller class used for storing animated Scale values.

Default is a Bezier_Scale controller.

   

EXAMPLE:

ndbc = NewDefaultBoolController()
--> Controller:Bezier_Float

ndcc = NewDefaultColorController()
--> Controller:Bezier_Color

ndfc = NewDefaultFloatController()
--> Controller:Bezier_Float

ndfrgbac = NewDefaultFRGBAController()
--> Controller:Bezier_RGBA_Color

ndmpc = NewDefaultMasterPointController()
--> Controller:MasterPointControlImp

ndm3c = NewDefaultMatrix3Controller()
--> Controller:Position_Rotation_Scale
ndm3c[1]
--> SubAnim:Position
ndm3c[1].controller
--> Controller:Position_XYZ
ndm3c[1].controller[1]
--> SubAnim:X_Position
ndm3c[1].controller[1].controller
--> Controller:Bezier_Float
ndm3c[2].controller
--> Controller:Euler_XYZ
ndm3c[3].controller
--> Controller:Bezier_Scale

ndp2c = NewDefaultPoint2Controller()
--> Controller:Bezier_Point2

ndp3c = NewDefaultPoint3Controller()
--> Controller:Bezier_Point3

ndp4c = NewDefaultPoint4Controller()
--> Controller:Bezier_Point4

ndpc = NewDefaultPositionController()
--> Controller:Position_XYZ

ndrc = NewDefaultRotationController()
--> Controller:Euler_XYZ

ndsc = NewDefaultScaleController()
--> Controller:Bezier_Scale