Edytuj

Udostępnij za pośrednictwem


ARReferenceImage.PhysicalSize Property

Definition

The real-world size of the image, in meters.

public virtual CoreGraphics.CGSize PhysicalSize { [Foundation.Export("physicalSize")] get; }
member this.PhysicalSize : CoreGraphics.CGSize

Property Value

Attributes

Remarks

This value is used by ARKit to inform the location and size of the ARImageAnchor. When creating the reference image (either via an asset catalog or programmatically), developers should strive to set this value accurately.

Applies to