def getOverlayTransformTrackedDeviceRelative(self, ulOverlayHandle):
        """Gets the transform if it is relative to a tracked device. Returns an error if the transform is some other type."""

        fn = self.function_table.getOverlayTransformTrackedDeviceRelative
        punTrackedDevice = TrackedDeviceIndex_t()
        pmatTrackedDeviceToOverlayTransform = HmdMatrix34_t()
        result = fn(ulOverlayHandle, byref(punTrackedDevice), byref(pmatTrackedDeviceToOverlayTransform))
        return result, punTrackedDevice, pmatTrackedDeviceToOverlayTransform
Gets the transform if it is relative to a tracked device. Returns an error if the transform is some other type.