Share via


SCNWrapMode Enum

Definition

Enumerates texture-wrapping techniques.

[ObjCRuntime.Native]
public enum SCNWrapMode
[<ObjCRuntime.Native>]
type SCNWrapMode = 
Inheritance
SCNWrapMode
Attributes

Fields

Name Value Description
Clamp 1

Clamps texture coordinates to the range [0,1].

Repeat 2

Uses the fractional part of the texture coordinate, so effectively 0.0 to less than 1.0.

ClampToBorder 3

Uses texture colors in the range [0,1] and the material's border color otherwise.

Mirror 4

Texture coordinates outside the range [0,1] are treated as if the range reverses before repeating.

Applies to