How I can set repeated texture on an object in Android ArCore Sceneform API?
I have successfully made a line between two vectors in the AR Scene. My code: private void addLineBetweenPoints(Scene scene, Vector3 from, Vector3 to) { // prepare an anchor position Quaternion camQ = scene.getCamera().getWorldRotation(); float[] f1 = new float[]{to.x, to.y, to.z}; float[] f2 = new float[]{camQ.x, camQ.y, camQ.z, camQ.w}; Pose anchorPose = new Pose(f1, f2); // make an ARCore Anchor Anchor anchor = mCallback.getSession().createAnchor(anchorPose); // Node that is automatically positioned in world space based on the ARCore Anchor. AnchorNode anchorNode = new AnchorNode(anchor);