Fields

Default material to be assigned to Wrld Landmarks. Landmarks are special buildings which are dotted around the globe. They have a custom texture which will be automatically assigned to this material’s diffuse value. Setting this value to null uses a standard diffuse material.

CoverageTreeManifestUrl

String

The override URL pointing to a valid coverage tree binary file.

ThemeManifestUrl

String

The override URL pointing to a valid manifest with theme information, also a binary file.

Collisions

CollisionConfig

Contains information on whether to enable or disable generation of collision meshes for different types of map geometry.

Methods

NativeConfig GetNativeConfig ()

Get the native config which can be used across language boundaries. For internal use only.

ConfigParams MakeDefaultConfig ()

Create and return a default configuration which sets up all parameters to default values. The map starts up at San Francisco (37.771092, -122.468385) at an altitude above sea level of 1781 meters while facing North (0 degrees heading). The default directory is set to WrldMaterials, which points to Assets/Wrld/Resources/WrldMaterials. And default landmark material is set to null

Properties

double LatitudeDegrees

Starting Latitude in degrees.

doubleLatitudeDegrees{get;set;}

double LongitudeDegrees

Starting Longitude in degrees.

doubleLongitudeDegrees{get;set;}

double DistanceToInterest

Starting distance of the camera from the interest point, in meters.

doubleDistanceToInterest{get;set;}

double HeadingDegrees

Starting heading / direction in degrees.

doubleHeadingDegrees{get;set;}

bool StreamingLodBasedOnDistance

Whether to determine streaming LOD based on distance, instead of altitude.

boolStreamingLodBasedOnDistance{get;set;}

double ViewportWidth

This is automatically set using Unity’s viewport resolution.

doubleViewportWidth{get;set;}

double ViewportHeight

This is automatically set using Unity’s viewport resolution.

doubleViewportHeight{get;set;}

bool EnableLabels

This controls whether or not Labels are enabled for roads, buildings and other landmarks. This is set automatically from the Unity Inspector panel for the WrldMap object.