Gets and sets the value by which to scale the model on its x axis. The 3D model can be scaled independently in each of the three axes. The actual X value of the model in the 3D World is the x value of the model in its internal coordinate system times the ScaleX value. (i.e., if the model 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 model 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) |