Example #1
0
    // Update is called once per frame
    void Update()
    {
        driverText.text     = driver.localPosition + " ; " + driver.localRotation;
        markerlessText.text = markerless.transform.localPosition + " ; " + markerless.transform.localRotation;
        fullposText.text    = driver.position + " ; " + markerless.transform.position;
        _kudan.ArbiTrackGetPose(out pos1, out rot1);
        _kudan.FloorPlaceGetPose(out pos2, out rot2);
        arbiText.text  = pos1 + " ; " + rot1;
        floorText.text = pos2 + " ; " + rot2;

        childStr = "";
        for (int i = 1; i < markerless.transform.childCount; i++)
        {
            tran = markerless.transform.GetChild(i);
            if (tran != null)
            {
                childStr += tran.name + " : " + tran.localPosition + " , " + tran.localScale + " ; ";
            }
        }
        childrenText.text = childStr;
    }