SCNWrapMode Enum

Definition

Enumerates texture-wrapping techniques.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public enum SCNWrapMode
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 8, ObjCRuntime.PlatformArchitecture.All, null)]
public enum SCNWrapMode
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