Online Maps  v3
OnlineMapsRWTConnector Class Reference

Real World Terrain Connector More...

Inheritance diagram for OnlineMapsRWTConnector:
IOnlineMapsSavableComponent

Public Types

enum  Mode
 Connection mode More...
 
enum  PositionMode
 Which object should be displayed on the map. More...
 

Public Member Functions

OnlineMapsSavableItem[] GetSavableItems ()
 Returns an array of items to save More...
 
Vector2 WorldPositionToCoordinates (Vector3 position)
 Converts position to geographic coordinates. More...
 

Public Attributes

Mode mode = Mode.markerOnPosition
 Connection mode More...
 
PositionMode positionMode = PositionMode.transform
 Which object should be displayed on the map. More...
 
Texture2D markerTexture
 The texture of the marker to be displayed on the map. More...
 
string markerLabel
 The label of the marker to be displayed on the map. More...
 
Vector3 scenePosition
 Position, which must be shown on the map. More...
 
Vector2 coordinates
 Coordinates, which must be shown on the map. More...
 
Transform targetTransform
 Transform, which must be shown on the map. More...
 

Properties

Vector2 currentPosition [get]
 Coordinates of selecteted object More...
 

Detailed Description

Real World Terrain Connector

Member Enumeration Documentation

◆ Mode

Connection mode

◆ PositionMode

Which object should be displayed on the map.

Member Function Documentation

◆ GetSavableItems()

OnlineMapsSavableItem [] OnlineMapsRWTConnector.GetSavableItems ( )

Returns an array of items to save

Returns
Array of items to save

Implements IOnlineMapsSavableComponent.

◆ WorldPositionToCoordinates()

Vector2 OnlineMapsRWTConnector.WorldPositionToCoordinates ( Vector3  position)

Converts position to geographic coordinates.

Parameters
positionWorld position
Returns
Geographic coordinates

Member Data Documentation

◆ coordinates

Vector2 OnlineMapsRWTConnector.coordinates

Coordinates, which must be shown on the map.

◆ markerLabel

string OnlineMapsRWTConnector.markerLabel

The label of the marker to be displayed on the map.

◆ markerTexture

Texture2D OnlineMapsRWTConnector.markerTexture

The texture of the marker to be displayed on the map.

◆ mode

Mode OnlineMapsRWTConnector.mode = Mode.markerOnPosition

Connection mode

◆ positionMode

PositionMode OnlineMapsRWTConnector.positionMode = PositionMode.transform

Which object should be displayed on the map.

◆ scenePosition

Vector3 OnlineMapsRWTConnector.scenePosition

Position, which must be shown on the map.

◆ targetTransform

Transform OnlineMapsRWTConnector.targetTransform

Transform, which must be shown on the map.

Property Documentation

◆ currentPosition

Vector2 OnlineMapsRWTConnector.currentPosition
get

Coordinates of selecteted object