SCNGeometrySource.FromTextureCoordinates(CGPoint[]) Method

Definition

Factory method that creates a source for texture coordinates.

public static SceneKit.SCNGeometrySource FromTextureCoordinates (CoreGraphics.CGPoint[] texcoords);
static member FromTextureCoordinates : CoreGraphics.CGPoint[] -> SceneKit.SCNGeometrySource

Parameters

texcoords
CGPoint[]

Returns

Remarks

The texcoords must correspond directly to their associated vertices (in another SCNGeometrySource).

For non-tiling textures, texture coordinates are values between 0 and 1 that describe the mapping between a texture location and a geometry location. A value of [0,0] represents the origin of the texture while [1,1] represents the point at its furthest extent.

Applies to