Sets the UV wrap mode of the image when the V coordinate goes outside the range 0-1.
property WrapV: TAgkImageWrap;
The default is iwClamp, which clamps the pixel value to the last valid pixel. Mode iwRepeat repeats the texture starting from the opposite side.
To use UV values outside 0-1 successfully on all platforms the image in question must be a power of 2 in width and height, and not be part of an atlas texture. This applies to both clamp and repeat.
Copyright (c) 2012. All rights reserved.
|