What's New in Director 8.5 > Working with Models and Model Resources > Textures > Texture commands |
![]() ![]() ![]() |
Texture commands
The pixel height and width of the 2D images you use as textures should be powers of 2 (that is, 2, 4, 8, 16, 32, and so on). If not, the image will be resized to a dimension that is a power of 2. The scaleDown()
command allows you to retain manual control over this procedure at the texture level.
Command |
Description |
Returns |
---|---|---|
|
Reduces the height of the texture to the next lowest power of 2. This is useful for dynamically resizing textures to fit on a client machine. |
Nothing |
![]() ![]() ![]() |