Skip to content

I can't access getPlaneDiscoveryController #154

Discussion options

You must be logged in to vote

PlaneDiscoveryController has been replaced by InstructionsController which can also handle the AugmentedImage detection instructions.

  • If you only want to change the hand image, simply override the sceneform_hand_phone.png in your drawable folder.
  • If you want a completely specific Instructions view, override the InstructionsController.onCreateView(int type) and apply it to your fragment:
arFragment.setInstructionsController(new InstructionsController(inflater, frameLayout) {
    @Override
    protected View onCreateView(int type) {
        switch (type) {
            case TYPE_PLANE_DISCOVERY:
                // return your view here
            default:
                return super.onCr…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by ThomasGorisse
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #151 on August 31, 2021 13:30.