VEModelScale Class
You are not viewing the latest version of the AJAX control. Bing Maps AJAX V7 is the recommended JavaScript control for Bing Maps. If you need this documentation, it is available in as a CHM or PDF download.
Represents the scale of a 3D model with respect to the map.
Constructor
Name | Description |
---|---|
Initializes a new instance of a VEModelScale object. |
Public Properties
Name | Description |
---|---|
A floating-point value specifying the x-axis scale factor of a 3D model. |
|
A floating-point value specifying the y-axis scale factor of a 3D model. |
|
A floating-point value specifying the z-axis scale factor of a 3D model. |
Remarks
The model scale can be set to a specific unit of measurement by passing the VEModelScale Constructor a VEModelScaleUnit Enumeration value. Alternatively, each VEModelScale property can be set to a VEModelScaleUnit Enumeration value.
By default one scale unit is equal to one meter. This can be modified by setting the VEModelScale properties to the appropriate VEModelScaleUnit Enumeration value.
Using large scale values may prevent the 3D model from rendering.