Gets and sets the value by which to scale the mesh layer on the X axis. The mesh layer can be scaled independently in each of the three axes. The actual X value of the layer in the 3D World is the x value of the layer in its internal coordinate system times the ScaleX value. (i.e., if the mesh layer has an X value of 5 units and the ScaleX is set to 10 meters per pixel, the x value of the object in the 3D World is 50 meters.)
Note: If you want to scale the mesh layer in all three axes, maintaining the model’s aspect ratio, use the ScaleFactor property.
JavaScript |
|
ScaleX |
C# |
|
double ScaleX { get; set; } |
C++ |
|
HRESULT ScaleX([out, retval] double* pVal) HRESULT ScaleX([in] double pVal) |
Exceptions
See: HRESULT Return Values for a list of possible values returned by the HRESULT.