Texture |
The TextureScaling type exposes the following members.
Name | Description | |
---|---|---|
Default | Gets the default texture scaling. | |
ScalingMode | Gets or sets the scaling mode, i.e. how the texture image should be scaled. | |
SourceAspectRatioPreserving | Gets or sets whether the aspect ratio of the texture image should be preserved. | |
X | If ScalingMode is Absolute, this value is the horizontal size of the texture (repeat length) in Points (1/72 inch). Otherwise, it is the horizontal scaling factor related either to the source image width or the destination image width. | |
Y | If ScalingMode is Absolute, this value is the vertical size of the texture (repeat length) in Points (1/72 inch). Otherwise, it is the vertical scaling factor related either to the source image width or the destination image height. |