How to change the radius of the Earth

i use unity for cesium get the radius in this function.(CesiumWgs84Ellipsoid.GetRadii())。if i wanted to chang earth radius,which method from the script should be used.

Unfortunately it’s not currently possible other than by modifying the source code itself. Are you wanting to change the radii because you’re working on the moon or another planet?

i want to build a moon,if i do not modify the source code,is there any other way.

It’s something we’d like to add in the future, but currently, no. The only option is modifying the source code.

thank you

if i want modify the source code ,can you tell me how to modify it?

In high level terms, yes. But I won’t be able to give you step-by-step instructions. You’ll need to have some proficiency in both C# and C++.