WrapMode
EnumDescribes how a texture should be sampled when using coordinates outside of the normal range.
- Available on all platforms
Platform details: Snapchat, SPECS, Camera Kit Web, Camera Kit Mobile fully supported.
Since Lens Scripting v221
Index
Enumeration Members
Enumeration Members
ClampToBorder
ClampToBorder:
number
Take the border color at the edge of a texture and stretch it out.
Since
Lens Scripting Version 221
ClampToEdge
ClampToEdge:
number
Take the average of the border color and stretch it out.
Since
Lens Scripting Version 221
MirroredRepeat
MirroredRepeat:
number
Repeats the current texture at the edge again, but flipping the orientation.
Since
Lens Scripting Version 221
Repeat
Repeat:
number
Repeats the current texture at the edge again.
Since
Lens Scripting Version 221