SCNGeometrySource.FromTextureCoordinates(CGPoint[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.