Sampler:getWrap

Edit

Returns 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

NameTypeDescription
xWrapMode The wrap mode used in the horizontal direction.
yWrapMode The wrap mode used in the vertical direction.
zWrapMode The wrap mode used in the "z" direction, for 3D textures only.

See also