Some of the remaining methods may fit well in the Godot class.
| GDScript |
C# |
| Color8 |
? (Constructor in Color?) |
| abs |
Mathf.abs |
| acos |
Mathf.acos |
| asin |
Mathf.asin |
| assert |
? (Unnecessary?) |
| atan |
Mathf.atan |
| atan2 |
Mathf.atan2 |
| bytes2var |
? (static Variant.FromBytes?) |
| ceil |
Mathf.ceil |
| clamp |
Mathf.clamp |
| convert |
? |
| cos |
Mathf.cos |
| cosh |
Mathf.cosh |
| deb2linear |
? |
| decimals |
Mathf.decimals ? |
| dectime |
? |
| deg2rad |
Mathf.deg2rad |
| dict2inst |
? |
| ease |
Mathf.ease |
| exp |
Mathf.exp |
| floor |
Mathf.floor |
| fmod |
Mathf.fmod (Although unnecessary in C#) |
| fposmod |
Mathf.fposmod |
| funcref |
? |
| hash |
? |
| inst2dict |
? |
| instance_from_id |
? |
| is_inf |
Mathf.is_inf |
| is_nan |
Mathf.is_nan |
| lerp |
Mathf.lerp |
| linear2db |
? |
| load |
? (Ignore and use ResourceLoader.load?) |
| log |
? |
| max |
Mathf.max |
| min |
Mathf.min |
| nearest_po2 |
Mathf.nearest_po2 |
| pow |
Mathf.pow |
| preload |
? (Is this even possible?) |
| print |
? |
| print_stack |
? |
| printerr |
? |
| printraw |
? |
| prints |
? |
| printt |
? |
| rad2deg |
Mathf.rad2deg |
| rand_range |
Random.rand_range |
| rand_seed |
Random.rand_seed |
| randf |
Random.randf |
| randi |
Random.randi |
| randomize |
Random.randomize |
| range |
? |
| round |
Mathf.round |
| seed |
? |
| sign |
Mathf.sign |
| sin |
Mathf.sin |
| sinh |
Mathf.sinh |
| sqrt |
Mathf.sqrt |
| stepify |
Mathf.stepify |
| str |
? (instance Override ToString?) |
| str2var |
? (static Variant.Str2Var?) |
| tan |
Mathf.tan |
| tanh |
Mathf.tanh |
| type_exists |
? |
| typeof |
? (static Variant.typeof?) |
| var2bytes |
? (static or instance Variant.ToBytes?) |
| var2str |
? (static Variant.VarToStr?) |
| weakref |
? |
| yield |
? (Unnecessary) |
Should we use static methods forbidding initialization instead of singletons?
| GDScript |
C# |
| Performance |
Performance.Instance |
| Globals |
Globals.Instance |
| IP |
IP.Instance |
| Geometry |
Geometry.Instance |
| ResourceLoader |
ResourceLoader.Instance |
| ResourceSaver |
ResourceSaver.Instance |
| PathRemap |
PathRemap.Instance |
| OS |
OS.Instance |
| Marshalls |
Marshalls.Instance |
| TranslationServer |
TranslationServer.Instance |
| TS |
? (ignore?) |
| Input |
Input.Instance |
| InputMap |
InputMap.Instance |
| VisualServer |
VisualServer.Instance |
| VS |
? (ignore?) |
| AudioServer |
AudioServer.Instance |
| AS |
? (ignore?) |
| PhysicsServer |
PhysicsServer.Instance |
| PS |
? (ignore?) |
| Physics2DServer |
Physics2DServer.Instance |
| PS2D |
? (ignore?) |
| SpatialSoundServer |
SpatialSoundServer.Instance |
| SS |
? (ignore?) |
| SpatialSound2DServer |
SpatialSound2DServer.Instance |
| SS2D |
? (ignore?) |
The easy way would be adding all these constants to the Godot class.