marker-tracking icon indicating copy to clipboard operation
marker-tracking copied to clipboard

isMeters variable name(s)

Open RaananW opened this issue 5 years ago • 2 comments

There are two parameters in the proposed IDL that have inMeters in their name: measuredWidthInMeters and widthInMeters.

As XR units are already in meters, and other APIs don't have this name definitions, is that needed in this API?

RaananW avatar Nov 25 '20 20:11 RaananW

I'm open to suggestions, but I think that an attribute named width that's provided alongside a bitmap image is too easy to misinterpret as a pixel width. It's not immediately clear from context that this is intended to be a real-world dimension.

klausw avatar Nov 25 '20 22:11 klausw

Yep, you are right. Apart from realWorldWidth or worldWidth that corresponds with worldInformation from plane detection (which is also not ideal) I don't have any better suggestion.

RaananW avatar Nov 26 '20 14:11 RaananW