Inheritance diagram for com.navigine.idl.java.internal.ModelMapObjectBinding:Public Member Functions | |
| native boolean | isValid () |
| boolean | setPosition (LocationPoint point) |
| Sets the anchor position of the model in metric coordinates. | |
| boolean | setPositionAnimated (LocationPoint point, float duration, AnimationType type) |
| Animates the model anchor to a new position. | |
| boolean | setModel (com.navigine.model.ModelProvider model) |
| Sets the 3D asset (OBJ source + texture ImageProvider). | |
| boolean | setSize (float width, float height) |
| Sets the on-screen size of the model in pixels (width and height). | |
| boolean | setCollisionEnabled (boolean enabled) |
| Enables or disables collision tests for this object. | |
| boolean | setAngle (float angle) |
| Sets rotation angle in degrees (around the placement axis used by the engine). | |
| boolean | setAngleAnimated (float angle, float duration, AnimationType type) |
| Animates rotation to the given angle. | |
| boolean | setBuffer (float width, float height) |
| Extra hit-test padding around the model in pixels. | |
| boolean | setPriority (float priority) |
| Render order priority (higher draws above). | |
| int | getId () |
| Gets the unique identifier of the map object. | |
| MapObjectType | getType () |
| Gets the type of the map object. | |
| byte[] | getData () |
| Gets the user-defined data associated with the map object. | |
| boolean | setVisible (boolean visible) |
| Method is used to specify the visibility of the map object. | |
| boolean | setInteractive (boolean interactive) |
| Method is used to specify whether the map object can be interacted with. | |
| void | setData (byte[] data) |
| Method is used to set user-defined data for the map object. | |
| boolean | setTitle (String title) |
| Method is used to set the title of the map object. | |
| boolean | setAlpha (float alpha) |
| Method is used to set the opacity of the map object. | |
Definition at line 13 of file ModelMapObjectBinding.java.
|
inline |
Gets the user-defined data associated with the map object.
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.MapObject.
Definition at line 107 of file ModelMapObjectBinding.java.
|
inline |
Gets the unique identifier of the map object.
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.MapObject.
Definition at line 93 of file ModelMapObjectBinding.java.
|
inline |
Gets the type of the map object.
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.MapObject.
Definition at line 100 of file ModelMapObjectBinding.java.
| native boolean com.navigine.idl.java.internal.ModelMapObjectBinding.isValid | ( | ) |
Tells if this ModelMapObject is valid or not. Any other method (except for this one) called on an invalid ModelMapObject will throw java.lang.RuntimeException.
Reimplemented from com.navigine.idl.java.ModelMapObject.
|
inline |
Method is used to set the opacity of the map object.
| alpha | Opacity multiplier. Values below 0 will be set to 0. Values above 1 will be set to 1. Default: 1. |
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.MapObject.
Definition at line 142 of file ModelMapObjectBinding.java.
|
inline |
Sets rotation angle in degrees (around the placement axis used by the engine).
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.ModelMapObject.
Definition at line 63 of file ModelMapObjectBinding.java.
|
inline |
Animates rotation to the given angle.
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.ModelMapObject.
Definition at line 70 of file ModelMapObjectBinding.java.
|
inline |
Extra hit-test padding around the model in pixels.
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.ModelMapObject.
Definition at line 77 of file ModelMapObjectBinding.java.
|
inline |
Enables or disables collision tests for this object.
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.ModelMapObject.
Definition at line 56 of file ModelMapObjectBinding.java.
|
inline |
Method is used to set user-defined data for the map object.
| data | Data to store in the map object. |
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.MapObject.
Definition at line 128 of file ModelMapObjectBinding.java.
|
inline |
Method is used to specify whether the map object can be interacted with.
| interactive | Specifies whether the object can be picked in the pickMapObjectAt method (true) or not (false). Default: false. |
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.MapObject.
Definition at line 121 of file ModelMapObjectBinding.java.
|
inline |
Sets the 3D asset (OBJ source + texture ImageProvider).
| model | Model provider ModelProvider. |
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.ModelMapObject.
Definition at line 42 of file ModelMapObjectBinding.java.
|
inline |
Sets the anchor position of the model in metric coordinates.
| point | Center / placement point LocationPoint. |
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.ModelMapObject.
Definition at line 28 of file ModelMapObjectBinding.java.
|
inline |
Animates the model anchor to a new position.
| point | Target metrics coordinates LocationPoint. |
| duration | Animation duration in seconds. |
| type | Animation easing AnimationType. |
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.ModelMapObject.
Definition at line 35 of file ModelMapObjectBinding.java.
|
inline |
Render order priority (higher draws above).
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.ModelMapObject.
Definition at line 84 of file ModelMapObjectBinding.java.
|
inline |
Sets the on-screen size of the model in pixels (width and height).
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.ModelMapObject.
Definition at line 49 of file ModelMapObjectBinding.java.
|
inline |
Method is used to set the title of the map object.
| title | The title to display on the location view. |
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.MapObject.
Definition at line 135 of file ModelMapObjectBinding.java.
|
inline |
Method is used to specify the visibility of the map object.
| visible | Specifies whether the object is visible (true) or hidden (false). Default: true. |
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.MapObject.
Definition at line 114 of file ModelMapObjectBinding.java.