Live Debug
PBLiveDebugSliderSetCallback
Callback:
Syntax (C/C++)
void PBLiveDebugSliderSetCallback(double newValue, PBUserContext context);
You can create a callback of this type from a function pointer with the above signature using PBLiveDebugSliderSetCallback_Make
.
Syntax (Python)
LiveDebugSliderSetCallback(newValue, context)
Parameters and Return Values
[in] newValue (double
):
[in] context (PBUserContext):
PBLiveDebugAddSlider
Function:
Syntax (C/C++)
void PBLiveDebugAddSlider(ConstStr name, double minimumValue,
double maximumValue, double initialPosition, PBLiveDebugSliderSetCallback onSet,
PBUserContext context);
Syntax (Python)
LiveDebugAddSlider(name, minimumValue, maximumValue, initialPosition, onSet, context)
Parameters and Return Values
[in] name (referenced string):
[in] minimumValue (double
):
[in] maximumValue (double
):
[in] initialPosition (double
):
[in] onSet (PBLiveDebugSliderSetCallback):
[in] context (PBUserContext):