ScaleMode 缩放模式
Enumeration
Scaling mode to draw textures with
绘制纹理的缩放模式。
Values值
-
Stretches the texture to fill the complete rectangle passed in to GUI.DrawTexture
拉伸纹理,来填充整个矩形,传递到GUI.DrawTexture。 -
Scales the texture, maintaining aspect ratio, so it completely covers the position rectangle passed to GUI.DrawTexture. If the texture is being draw to a rectangle with a different aspect ratio than the original, the image is cropped.
缩放纹理,保持高宽比,这样它完全覆盖矩形的位置传递给GUI.DrawTexture。如果纹理被绘制到一个和原来不同宽高比的矩形,图像将被裁切。 -
Scales the texture, maintaining aspect ratio, so it completely fits withing the position rectangle passed to GUI.DrawTexture.
缩放纹理,保持高宽比,以便它完全适配在矩形内的位置传递给GUI.DrawTexture。
最后修改:2011年5月23日 Monday 13:08