SCNWrapMode
Modes to apply to texture wrapping, used by the Wrapt and Wraps properties.
Declaration
enum SCNWrapModeOverview
Wrapping modes determine texture mapping behavior for cases where a material’s texture coordinates extend outside the range from 0.0 to 1.0. For example, if you use the contentsTransform property to shrink a texture relative to the surface of a geometry, you use the wrap mode properties to determine whether the texture repeats across the surface. The figure below shows the effect of each wrapping mode on an otherwise identical material.
[Image]
Topics
Constants
SCNWrapMode.clampSCNWrapMode.repeatSCNWrapMode.clampToBorderSCNWrapMode.mirrorSCNClampSCNRepeatSCNClampToBorderSCNMirror