Edit

Share via


ARSession.CreateReferenceObjectAsync(NMatrix4, NVector3, NVector3) Method

Definition

Asynchronously creates a reference object from a region in space and returns a task that contains the resulting object.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task<ARKit.ARReferenceObject> CreateReferenceObjectAsync (OpenTK.NMatrix4 transform, OpenTK.NVector3 center, OpenTK.NVector3 extent);
abstract member CreateReferenceObjectAsync : OpenTK.NMatrix4 * OpenTK.NVector3 * OpenTK.NVector3 -> System.Threading.Tasks.Task<ARKit.ARReferenceObject>
override this.CreateReferenceObjectAsync : OpenTK.NMatrix4 * OpenTK.NVector3 * OpenTK.NVector3 -> System.Threading.Tasks.Task<ARKit.ARReferenceObject>

Parameters

transform
NMatrix4

The transform to the position and orientation of the region from which to create a reference object.

center
NVector3

The center of the region.

extent
NVector3

The exent of the region, in the transform coordinate space.

Returns

A task that receives the created object, if present.

Attributes

Applies to