FaFpsText
🟢 Doesn't need container
🟡 Doesn't accept child/children
Widget API
pub fn fa_fps<'a>(builder: &'a mut FamiqWidgetBuilder) -> FaFpsTextBuilder<'a> {
// ..
}
Usage via builder
fa_fps(&mut builder).build();
return Entity which can be used as a child of a FaContainer.
change_color(): change number color based on the value.right_side(): make fps text appears at the top right corner.
Example
fa_fps(&mut builder).change_color().right_side().build();