MapSceneObject class Maps & 3D Scenes
Represents a 3D scene object that can be manipulated on the map.
A map scene object typically represents a 3D model used for position tracking or decorative objects. Do not instantiate directly; obtain an instance via getDefPositionTracker or other factory methods provided by the SDK.
See also:
- getDefPositionTracker — Obtain the default position tracker object.
Properties
- coordinates → Coordinates
-
Returns the object's coordinates in the main object coordinate system.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- mapId → int
-
no setter
- maxScale → double
-
Returns the maximum allowed scale factor for the object.
no setter
- orientation → Point4d
-
Returns the object's orientation as a quaternion.
no setter
- pointerId → int
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scale ↔ double
-
Returns the object's scale factor.
getter/setter pair
- visibility ↔ bool
-
Returns whether the object is visible.
getter/setter pair
Methods
-
getScreenRect(
GemMapController object) → Rectangle< int> ? - Returns the screen rectangle occupied by this object in the given map view.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
customizeDefPositionTracker(
List< int> buffer, SceneObjectFileFormat format) → GemError - Customizes the SDK's default position tracking object.
-
getDefPositionTracker(
) → MapSceneObject - Returns the SDK's default position tracker object.
-
getDefPositionTrackerAccuracyCircleColor(
) → Color - Returns the current color used for the position tracker accuracy circle.
-
resetDefPositionTrackerAccuracyCircleColor(
) → GemError - Resets the default position tracker accuracy circle to the SDK default color.
-
setDefPositionTrackerAccuracyCircleColor(
Color color) → GemError - Sets the color of the SDK position tracker accuracy circle.