Class ModelStyle
com.yandex.mapkit.map
java.lang.Object ⇽ ModelStyle
public class ModelStyle
Constructors
ModelStyle(float size) | |
ModelStyle() | Use constructor with parameters in your code. |
ModelStyle(float size) | |
ModelStyle() | Use constructor with parameters in your code. |
Methods
float | getSize() | Maximum linear size (other sides are calculated by using original model scales) of the model bounding box in units. |
void | serialize(Archive archive) | |
ModelStyle | setSize(float size) | See getSize(). |
float | getSize() | Maximum linear size (other sides are calculated by using original model scales) of the model bounding box in units. |
void | serialize(Archive archive) | |
ModelStyle | setSize(float size) | See getSize(). |
Constructor Detail
ModelStyle
public ModelStyle (float size)
ModelStyle
public ModelStyle ()
Use constructor with parameters in your code.
This one is for bindings only!Method Detail
getSize
public float getSize ()
Maximum linear size (other sides are calculated by using original model scales) of the model bounding box in units.
The size of the unit is equal to the size of a pixel when the camera position's tilt is equal to 0 and the scale factor is equal to 1.serialize
public void serialize (Archive archive)
setSize
public ModelStyle setSize (float size)
See getSize().