MapSceneObject

class MapSceneObject(address: Long) : GemNativeObj

MapSceneObject object

Constructors

Link copied to clipboard
constructor(address: Long)

Types

Link copied to clipboard
object Companion

MapSceneObject companion

Properties

Link copied to clipboard

Address of native referenced object. nullptr if not referencing any native allocated object. Note native allocation will happen only once.

Link copied to clipboard

Object coordinates in main object coordinates system

Link copied to clipboard

Object max scale factor. By default is 5.0

Link copied to clipboard

Object orientation as camera angles. This will not take effect on PositionTracker

Link copied to clipboard

Object scale factor. Ranges from 0 to maxScaleFactor

Link copied to clipboard

Object visibility in scene

Functions

Link copied to clipboard
fun finalize()

Overrides finalize that garbage collector will call when needed.

Link copied to clipboard

True if keeps a reference to a C++ SDK object False if keeps a C++ SDK object

Link copied to clipboard
operator fun not(): Boolean

Checks if this object is valid.

Link copied to clipboard
fun release()

Releases the native referenced value of this object if:

Link copied to clipboard
external fun restoreState(buffer: DataBuffer, tracker: MapCamera)

Restore object & tracker state

Link copied to clipboard
external fun saveState(tracker: MapCamera): DataBuffer?

Save object & tracker state to buffer