ARSCNFaceGeometry.Create Method

Definition

Overloads

Create(IMTLDevice)

Creates and returns a new face geometry for rendering on the specified MetalKit device.

Create(IMTLDevice, Boolean)

Creates and returns a new SceneKit mesh, with optionally filled in eyes and mouth.

Create(IMTLDevice)

Creates and returns a new face geometry for rendering on the specified MetalKit device.

[Foundation.Export("faceGeometryWithDevice:")]
public static ARKit.ARSCNFaceGeometry Create (Metal.IMTLDevice device);
static member Create : Metal.IMTLDevice -> ARKit.ARSCNFaceGeometry

Parameters

device
IMTLDevice

The MetalKit device that will render the face.

Returns

Attributes

Applies to

Create(IMTLDevice, Boolean)

Creates and returns a new SceneKit mesh, with optionally filled in eyes and mouth.

[Foundation.Export("faceGeometryWithDevice:fillMesh:")]
public static ARKit.ARSCNFaceGeometry Create (Metal.IMTLDevice device, bool fillMesh);
static member Create : Metal.IMTLDevice * bool -> ARKit.ARSCNFaceGeometry

Parameters

device
IMTLDevice

The MetalKit device that will render the face, or null to indicate that either the device or face-tracking are not available.

fillMesh
Boolean

Whether to fill in the eyes and mouth.

Returns

A new SceneKit mesh, with optionally filled in eyes and mouth.

Attributes

Applies to