Sampler:getWrap
EditReturns the wrap mode of the sampler, used to wrap or clamp texture coordinates when the extend outside of the 0-1 range.
x, y, z = Sampler:getWrap()
Arguments
None
Returns
Name | Type | Description |
x | WrapMode | The wrap mode used in the horizontal direction. |
y | WrapMode | The wrap mode used in the vertical direction. |
z | WrapMode | The wrap mode used in the "z" direction, for 3D textures only. |