Wolfram Language

The Wolfram Language in Unity

The WolframLanguage class in Unity provides a highlevel interface for calling the Wolfram Language from Unity scripts.

Use data on geographic entities in the Wolfram Language CountryData to draw country borders.

The main scene contains the Main Camera, the Wolfram Language game object and the Game Controller object.

The method GetCountryNames() attached to the Game Controller script calls the Wolfram Language object through the Evaluate() method and returns the names of countries with an area greater than 10,000 km2.

The method GetCountryCoordinates() returns the 3D coordinates that form the specified country's border.

Switch Unity to Play mode to watch the country borders be drawn.

Related Examples

de es fr ja pt-br zh