ARReferenceImage.PhysicalSize Property
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.
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.