FrameFilterImpl.AddIntParam Method |
||||||||||||||||||||
| Registers a integer parameter than can be accessed using the methods of FrameFilter. | ||||||||||||||||||||
| Syntax: | public delegate void SetIntParam( int value ); public delegate int GetIntParam(); protected void AddIntParam( string name, SetIntParam setFunc, GetIntParam getFunc ); |
|||||||||||||||||||
|
||||||||||||||||||||
| Remarks: | All parameters of a frame filter should be registered in its constructor. |
|||||||||||||||||||
| Example: | The following sample code shows how to add two parameters. One is named "enable" and the other one, which is an int parameter is named "threshold": [C#] The functions, that are referenced in AddIntParam to set the integer parameter are implemeted as follows: [C#] [C#] |
|||||||||||||||||||
| See also: | FrameFilterImpl, FrameFilterImpl.AddBoolParam, FrameFilterImpl.AddFloatParam, FrameFilterImpl.AddStringParam, FrameFilterImpl.AddDataParam | |||||||||||||||||||