Download Latest Version 0.9 - Features, Features, Features.zip (367.5 kB)
Email in envelope

Get an email when there's a new version of react-native-arkit

Home / 0.7.1
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2017-12-21 1.2 kB
Version 0.7.tar.gz 2017-12-21 333.1 kB
Version 0.7.zip 2017-12-21 356.9 kB
Totals: 3 Items   691.3 kB 0

New Features

  • Textures! Normal Maps! And more! (experimental) See this PR and the readme section: https://github.com/HippoAR/react-native-arkit/pull/121 thx @bnjm
  • onARKitError on <ARKit /> component now reports when ArKit could not be initialized, e.g. because the camera access was denied.
  • onPlaneRemoved on <ARKit /> now is called when a detected plane has been removed (ArKit sometimes replaces detected planes entirely
  • new property origin={{position, transition}} on <ARKit />. Setting this property to a certain position shifts the whole coordinate system to that point. This is usefull if you always want to align everything to the floor, so any object with y-coordinate equals 0 will be exactly at the floor. E.g. use onPlaneUpdate to get detected planes and set origin to the plane with the lowest y coordinate. Use transition to animate that change
  • ARKit.hitTestSceneObjects and ARKit.hitTestPlanes respect the new origin property. Every reported position is relative to that origin. Use positionAbsolute to get the original, absolute position.
  • detected planes have now also new properties position (which was node before), positionAbsolute and eulerAngles
Source: README.md, updated 2017-12-21