public CreateController ( IControllerValue |
||
source | IControllerValue |
Controller value to use as the source. |
destination | IControllerValue |
Controller value to use as the destination. |
function | IControllerFunction |
Controller funcion that will use the source value to set the destination. |
return | Controller |
public Controller<float> CreateController( IControllerValue<float> source, IControllerValue<float> destination, IControllerFunction<float> function )
{
// create a new controller object
Controller<float> controller = new Controller<float>( source, destination, function );
// add the new controller to our list
controllers.Add( controller );
return controller;
}
ControllerManager::CreateController ( IControllerValue |