Inheritance diagram for com.navigine.idl.java.internal.ModelMapObjectBinding:Public Member Functions | |
| native boolean | isValid () |
| boolean | setPosition (GlobalPoint point, Integer sublocationId) |
| Sets the anchor position of the model in WGS84 coordinates. | |
| boolean | setPositionAnimated (GlobalPoint point, Integer sublocationId, 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 radians (around the placement axis used by the engine). | |
| boolean | setAngleAnimated (float angle, float duration, AnimationType type) |
| Animates rotation to the given angle in radians. | |
| 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 | setTitleWithStyle (String title, TitleStyle style) |
| Method is used to set the title and its style for the map object. | |
| boolean | setAlpha (float alpha) |
| Method is used to set the opacity of the map object. | |
Definition at line 14 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 108 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 94 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 101 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 150 of file ModelMapObjectBinding.java.
|
inline |
Sets rotation angle in radians (around the placement axis used by the engine).
| angle | Rotation angle in radians. Default: 0. |
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.ModelMapObject.
Definition at line 64 of file ModelMapObjectBinding.java.
|
inline |
Animates rotation to the given angle in radians.
| angle | Rotation angle in radians. |
| duration | Animation duration in seconds. |
| type | Animation type AnimationType. |
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.ModelMapObject.
Definition at line 71 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 78 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 57 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 129 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 122 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 43 of file ModelMapObjectBinding.java.
|
inline |
Sets the anchor position of the model in WGS84 coordinates.
| point | Center / placement point GlobalPoint. |
| sublocationId | Floor this object is attached to, or null for the outdoor map. |
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.ModelMapObject.
Definition at line 29 of file ModelMapObjectBinding.java.
|
inline |
Animates the model anchor to a new position.
| point | Target WGS84 coordinates GlobalPoint. |
| sublocationId | Floor this object is attached to, or null for the outdoor map. |
| 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 36 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 85 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 50 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 136 of file ModelMapObjectBinding.java.
|
inline |
Method is used to set the title and its style for the map object.
| title | The title to display on the location view. |
| style | Title style parameters TitleStyle. |
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.MapObject.
Definition at line 143 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 115 of file ModelMapObjectBinding.java.