I want to build an app in Unity where the user can input the lat longitude of a position where the user wants to explore and on the input competition, the user is transported to the specified location. Where can I find the documentation of Cesium components and their methods to program from C# scripts?
Thank you for your time.
What I mean is where I can find this documentation,
https://cesium.com/learn/ion-sdk/ref-doc/, but for Unity.
We unfortunately don’t have HTML reference documentation like that yet. There’s an issue to add it:
In the meantime, the source code itself has extensive comments on the classes and methods, so you can take a look at those:
For example, to do flights to a particular location, check out the
CesiumFlyToController, especially the “FlyTo…” methods:
/// <see cref="CesiumFlyToController.flyToAltitudeProfileCurve"/>,
/// <see cref="CesiumFlyToController.flyToProgressCurve"/>,
/// <see cref="CesiumFlyToController.flyToMaximumAltitudeCurve"/>,
/// <see cref="CesiumFlyToController.flyToDuration"/>, and
/// <see cref="CesiumFlyToController.flyToGranularityDegrees"/>.
/// <param name="destination">The longitude (x), latitude (y), and height (z) of the destination.</param>
/// <param name="yawAtDestination">The yaw of the controller at the destination.</param>
/// <param name="pitchAtDestination">The pitch of the controller at the destination.</param>
/// <param name="canInterruptByMoving">Whether the flight can be interrupted with movement inputs.</param>
public void FlyToLocationLongitudeLatitudeHeight(
double3 destinationECEF =