Notifications
Clear all

[Closed] Progress Bar rollout control SDK

does anyone know an example of using progressbar rollout control via sdk?

3 Replies

There is the custom one in the Polycounter sample. Looks better than the factory one.

technically i just want to change rollout progressbar value from sdk method. kinda pass the control and the method has to update a progress.
the best solution i found is:

void <something>::progress(percent_complete, RolloutControl* progressBar)
{
	if (progressBar) 
	{
		Value* args[2] = { Float::intern(percent_complete), n_value }; 
		progressBar->set_property(args,2);
	}
}

i’m not very happy with this solution but it works.