public static Matrix4x4f EstimatePoseWrapped(ref Target target, ref PoseParameters param)
        {
#if UNITY_EDITOR
            return(CARDSTrackingPlugin.estimate_pose(ref target, ref param));
#else
            return(EstimatePose(ref target, ref param));
#endif
        }
        // The plugin methods are wrapped in order to be transparent for the users when they are being executed in
        // editor or standalone mode.
        #region Wrapped methods

        public static bool GetPoseParametersWrapped(string resourceDirectory, ref PoseParameters parameters)
        {
#if UNITY_EDITOR
            return(get_pose_parameters(resourceDirectory, ref parameters));
#else
            return(GetPoseParameters(resourceDirectory, ref parameters));
#endif
        }
 internal static extern Matrix4x4f EstimatePose(ref Target target, ref PoseParameters param);
 internal static extern bool GetPoseParameters(string resourceDirectory, ref PoseParameters parameters);