Texture:setWrap
Sets the wrap mode of a texture. The wrap mode controls how the texture is sampled when texture coordinates lie outside the usual 0 - 1 range. The default for both directions is repeat
.
Texture:setWrap(horizontal, vertical)
Arguments
Name | Type | Default | Description |
horizontal | WrapMode | How the texture should wrap horizontally. | |
vertical | WrapMode | horizontal | How the texture should wrap vertically. |
Returns
Nothing
See also
Texture:getWrap
Texture