Axiom.Controllers.ControllerManager.CreateGpuProgramTimerParam C# (CSharp) Метод

CreateGpuProgramTimerParam() публичный Метод

Predefined controller value for setting a single floating- point value in a constant paramter of a vertex or fragment program.
Any value is accepted, it is propagated into the 'x' component of the constant register identified by the index. If you need to use named parameters, retrieve the index from the param object before setting this controller up.
public CreateGpuProgramTimerParam ( GpuProgramParameters parms, int index, float timeFactor ) : Controller
parms Axiom.Graphics.GpuProgramParameters
index int
timeFactor float
Результат Controller
		public Controller<float> CreateGpuProgramTimerParam( GpuProgramParameters parms, int index, float timeFactor )
		{
			IControllerValue<float> val = new FloatGpuParamControllerValue( parms, index );
			IControllerFunction<float> func = new MultipyControllerFunction( timeFactor, true );

			return CreateController( val, func );
		}