MCPcopy Create free account
hub / github.com/URLab-Sim/UnrealRoboticsLab / HandleSliderChanged

Method HandleSliderChanged

Source/URLab/Private/UI/MjPropertyRow.cpp:153–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151}
152
153void UMjPropertyRow::HandleSliderChanged(float Value)
154{
155 if (PropertyType == EMjPropertyType::Slider)
156 {
157 if (ValueDisplay)
158 {
159 ValueDisplay->SetText(FText::FromString(FString::Printf(TEXT("%8.3f"), Value)));
160 }
161 OnValueChanged.Broadcast(Value, PropertyName);
162 }
163}
164
165void UMjPropertyRow::HandleToggleChanged(bool bChecked)
166{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected