Class IOSAugmentedRealityService

    • Constructor Detail

      • IOSAugmentedRealityService

        public IOSAugmentedRealityService()
    • Method Detail

      • checkAR

        public AugmentedRealityService.Availability checkAR​(java.lang.Runnable afterInstall)
        Description copied from interface: AugmentedRealityService
        Checks if device supports AR
        Parameters:
        afterInstall - action that can be performed if AR is installed successfully
        Returns:
        the availability of AR on the device
      • setModel

        public void setModel​(ARModel model)
        Description copied from interface: AugmentedRealityService
        Sets the 3D model that is going to be used by the AR session. The .obj 3D model can be displayed during the AR session when the user taps on the screen after the camera recognizes a feature plane or point The model files have to be placed directly or within a folder under /src/ios/assets/ for iOS, while for Android these can be placed under /src/android/assets/ or /src/main/resources/assets/.
        Parameters:
        model - the entity model
      • debugAR

        public void debugAR​(boolean enable)
        Description copied from interface: AugmentedRealityService
        Shows debug information
        Parameters:
        enable - set to true to get verbose output
      • cancelled

        public javafx.beans.property.ReadOnlyBooleanProperty cancelled()
        Description copied from interface: AugmentedRealityService
        Boolean property that can be used to listen if the AR session was cancelled
        Returns:
        a ReadOnlyBooleanProperty