Scripting Object Reference
SceneModule
ScalingOption

ScalingOption

The ScalingOption enum describes how an element is scaled.

Values

ValueDescription
IGNOREIndicates that no scaling is applied to the element.
STRETCHIndicates that the resource is stretched in the height and width dimensions to fill the container.
FIT_WIDTHIndicates that the resource is scaled proportionately to match the width of the container.
FIT_HEIGHTIndicates that the resource is scaled proportionately to match the height of the container.
FITIndicates that the resource is scaled proportionately such that the larger dimension, height or width, matches the size of the container.
FILLIndicates that the resource is is tiled to fill the container.