SCNWrapMode 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)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 8, ObjCRuntime.PlatformArchitecture.All, null)]
public enum SCNWrapMode
type SCNWrapMode = 
Inheritance
SCNWrapModeSCNWrapMode
Attributes

Fields

Clamp Clamp 1

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

ClampToBorder ClampToBorder 3

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

Mirror Mirror 4

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

Repeat Repeat 2

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

Applies to