Model

public class Model


Model object class to represent a 3D model object within a 3D map scene.

Summary

Public methods

int

The altitude mode of the 3d model.

String

A read-only unique identifier for this model.

Orientation

The orientation for the 3d model to be renderered in the 3d map scene.

LatLngAltitude

The coordinates that determine the position of the model in the 3d map scene.

Vector3D

The scale as a 3d vector of the model to be renderered in the 3d map scene.

String

The source URL of the model object to be loaded into the 3d map scene.

void

Removes this model from the 3d map scene.

void

Sets the altitude mode of the 3d model.

void

Sets the orientation for the 3d model to be renderered in the 3d map scene.

void

Sets the coordinates that determine the position of the model in the 3d map scene.

void

Sets the scale as a 3d vector of the model to be renderered in the 3d map scene.

void
setUrl(String value)

Sets the source URL of the model object to be loaded into the 3d map scene.

Public methods

getAltitudeMode

@AltitudeMode
public int getAltitudeMode()

The altitude mode of the 3d model.

getId

public String getId()

A read-only unique identifier for this model. This will assigned during creation and will be used to identify the model when updating or removing it.

getOrientation

public Orientation getOrientation()

The orientation for the 3d model to be renderered in the 3d map scene.

getPosition

public LatLngAltitude getPosition()

The coordinates that determine the position of the model in the 3d map scene.

getScale

public Vector3D getScale()

The scale as a 3d vector of the model to be renderered in the 3d map scene.

getUrl

public String getUrl()

The source URL of the model object to be loaded into the 3d map scene.

remove

public void remove()

Removes this model from the 3d map scene.

setAltitudeMode

public void setAltitudeMode(@AltitudeMode int value)

Sets the altitude mode of the 3d model.

setOrientation

public void setOrientation(Orientation value)

Sets the orientation for the 3d model to be renderered in the 3d map scene.

setPosition

public void setPosition(LatLngAltitude value)

Sets the coordinates that determine the position of the model in the 3d map scene.

setScale

public void setScale(Vector3D value)

Sets the scale as a 3d vector of the model to be renderered in the 3d map scene.

setUrl

public void setUrl(String value)

Sets the source URL of the model object to be loaded into the 3d map scene.