toColor
Platform Compatibility PC Mac OSX Oculus Quest X X X Convert R,G,B or R,G,B,A values separately into a 0,0,0,0 format string Parameters: r A float value g A float value b A float value a Optional A float value Example: 1obj.toColor(r, g, b, a = 1f)