Version: Unity 6.3 Beta (6000.3)
LanguageEnglish
  • C#

AddressMode

enumeration

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Specifies how the gradient is sampled when UV coordinates are outside the [0, 1] range.

Wrap repeats the gradient, creating a tiled effect. Clamp extends the edge colors of the gradient beyond the [0, 1] range. Mirror repeats the gradient, but mirrors it at every integer boundary, creating a seamless mirrored tiling.

Properties

Property Description
Wrap Repeats the gradient when sampling outside the [0, 1] range, creating a tiled effect.
Clamp Extends the edge colors of the gradient beyond the [0, 1] range.
Mirror Repeats the gradient, but mirrors it at every integer boundary, creating a seamless mirrored tiling.