This shows you the differences between two versions of the page.
built_in:sensors [2014/12/05 13:48] 162.252.85.172 [Methods] |
built_in:sensors [2018/01/03 10:23] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Sensor control ====== | ||
- | ===== Create ===== | ||
- | Create Sensor objects using the CreateSensor function of the app object: | ||
- | < | ||
- | Types available are: " | ||
- | You can use the SetOnChange function of the Sensor to set the name of a function you want to be called when a the changes occur. | ||
- | |||
- | Change the rate that a sensor checks for changes by adding one the options " | ||
- | ===== Methods ===== | ||
- | ^Method ^Description ^ | ||
- | |Sensor.Destroy() | | | ||
- | |Sensor.GetAbsHeight() | | | ||
- | |Sensor.GetAbsWidth() | | | ||
- | |Sensor.GetAzimuth() | | | ||
- | |Sensor.GetHeight() | | | ||
- | |Sensor.GetPitch() | | | ||
- | |Sensor.GetPosition() | | | ||
- | |Sensor.GetRoll() | | | ||
- | |Sensor.GetType() | | | ||
- | |Sensor.GetVisibility() | | | ||
- | |Sensor.GetWidth() | | | ||
- | |Sensor.Release() | | | ||
- | |Sensor.SetBackColor( p1 ) | | | ||
- | |Sensor.SetBackGradient( p1, | ||
- | |Sensor.SetBackGradientRadial( p1, | ||
- | |Sensor.SetBackground( p1,p2 ) | | | ||
- | |Sensor.SetMargins( left, | ||
- | |Sensor.SetMinChange( p1 ) | | | ||
- | |Sensor.SetOnChange( p1 ) | | | ||
- | |Sensor.SetPadding( p1,p2,p3,p4 ) | | | ||
- | |Sensor.SetPosition( p1,p2,p3,p4 ) | | | ||
- | |Sensor.SetScale( x,y ) | | | ||
- | |Sensor.SetSize( p1,p2 ) | | | ||
- | |Sensor.SetVisibility( p1 ) | | | ||
- | |Sensor.Start() | | | ||
- | |Sensor.Stop() | | |