Esempio n. 1
0
 public static void GetQuatPoint(string text, HQuat quat)
 {
     HCSMVOPINVOKE.HBhvUtility_GetQuatPoint__SWIG_1(text, HQuat.getCPtr(quat));
     if (HCSMVOPINVOKE.SWIGPendingException.Pending)
     {
         throw HCSMVOPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 2
0
 public static void GetQuatPoint(HUtilityTextParser tp, HQuat quat)
 {
     HCSMVOPINVOKE.HBhvUtility_GetQuatPoint__SWIG_0(HUtilityTextParser.getCPtr(tp), HQuat.getCPtr(quat));
     if (HCSMVOPINVOKE.SWIGPendingException.Pending)
     {
         throw HCSMVOPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 3
0
 public void AddQuatSquadKeyframe(string animname, int tick, HQuat rot, bool linear)
 {
     HCSMVOPINVOKE.HBhvBehaviorManager_AddQuatSquadKeyframe(swigCPtr, animname, tick, HQuat.getCPtr(rot), linear);
     if (HCSMVOPINVOKE.SWIGPendingException.Pending)
     {
         throw HCSMVOPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 4
0
    public static HQuat Qspline(HQuat qnm1, HQuat qn, HQuat qnp1)
    {
        HQuat ret = new HQuat(HCSMVOPINVOKE.HQuat_Qspline(HQuat.getCPtr(qnm1), HQuat.getCPtr(qn), HQuat.getCPtr(qnp1)), true);

        if (HCSMVOPINVOKE.SWIGPendingException.Pending)
        {
            throw HCSMVOPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Esempio n. 5
0
    public static HQuat Qsquad(HQuat q1, HQuat q2, HQuat a, HQuat b, float fraction)
    {
        HQuat ret = new HQuat(HCSMVOPINVOKE.HQuat_Qsquad(HQuat.getCPtr(q1), HQuat.getCPtr(q2), HQuat.getCPtr(a), HQuat.getCPtr(b), fraction), true);

        if (HCSMVOPINVOKE.SWIGPendingException.Pending)
        {
            throw HCSMVOPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Esempio n. 6
0
    public static HQuat QslerpNoInvertExtraSpins(HQuat q1, HQuat q2, float fraction, int ExtraSpins)
    {
        HQuat ret = new HQuat(HCSMVOPINVOKE.HQuat_QslerpNoInvertExtraSpins(HQuat.getCPtr(q1), HQuat.getCPtr(q2), fraction, ExtraSpins), true);

        if (HCSMVOPINVOKE.SWIGPendingException.Pending)
        {
            throw HCSMVOPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Esempio n. 7
0
    public static HQuat Qexp(HQuat q)
    {
        HQuat ret = new HQuat(HCSMVOPINVOKE.HQuat_Qexp(HQuat.getCPtr(q)), true);

        if (HCSMVOPINVOKE.SWIGPendingException.Pending)
        {
            throw HCSMVOPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Esempio n. 8
0
 public void Evaluate(float currenttick, bool[] hasPos, HPoint pos, bool[] hasQuat, HQuat quat, bool[] hasScale, HPoint scale)
 {
     HCSMVOPINVOKE.HBhvAnimation_Evaluate(swigCPtr, currenttick, hasPos, HPoint.getCPtr(pos), hasQuat, HQuat.getCPtr(quat), hasScale, HPoint.getCPtr(scale));
     if (HCSMVOPINVOKE.SWIGPendingException.Pending)
     {
         throw HCSMVOPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 9
0
 public static HandleRef getCPtr(HQuat obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Esempio n. 10
0
    public static HQuat MatrixToQuaternion(float[] matrix)
    {
        HQuat ret = new HQuat(HCSMVOPINVOKE.HQuat_MatrixToQuaternion(matrix), true);

        return(ret);
    }
Esempio n. 11
0
 public HQuat(HQuat p) : this(HCSMVOPINVOKE.new_HQuat__SWIG_2(HQuat.getCPtr(p)), true)
 {
 }
Esempio n. 12
0
    public HQuat Normalize()
    {
        HQuat ret = new HQuat(HCSMVOPINVOKE.HQuat_Normalize(swigCPtr), false);

        return(ret);
    }
Esempio n. 13
0
 public static void AddPosRotKeyframe(HBaseModel model, System.Text.StringBuilder animname, int tick, HPoint pos, bool linear, HQuat quat, bool linear2)
 {
     HCSMVOPINVOKE.HBhvUtility_AddPosRotKeyframe__SWIG_1(HBaseModel.getCPtr(model), animname, tick, HPoint.getCPtr(pos), linear, HQuat.getCPtr(quat), linear2);
     if (HCSMVOPINVOKE.SWIGPendingException.Pending)
     {
         throw HCSMVOPINVOKE.SWIGPendingException.Retrieve();
     }
 }