Beispiel #1
0
 public Matrix(Quat arg0) : this(VixenLibPINVOKE.new_Matrix__SWIG_2(Quat.getCPtr(arg0)), true)
 {
     if (VixenLibPINVOKE.SWIGPendingException.Pending)
     {
         throw VixenLibPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #2
0
 public void Squad(Quat p, Quat a, Quat b, Quat q, float t)
 {
     VixenLibPINVOKE.Quat_Squad(swigCPtr, Quat.getCPtr(p), Quat.getCPtr(a), Quat.getCPtr(b), Quat.getCPtr(q), t);
     if (VixenLibPINVOKE.SWIGPendingException.Pending)
     {
         throw VixenLibPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #3
0
 public void Mul(Quat qL, Quat qR)
 {
     VixenLibPINVOKE.Quat_Mul(swigCPtr, Quat.getCPtr(qL), Quat.getCPtr(qR));
     if (VixenLibPINVOKE.SWIGPendingException.Pending)
     {
         throw VixenLibPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #4
0
 public void RotationMatrix(Quat arg0)
 {
     VixenLibPINVOKE.Matrix_RotationMatrix__SWIG_0(swigCPtr, Quat.getCPtr(arg0));
     if (VixenLibPINVOKE.SWIGPendingException.Pending)
     {
         throw VixenLibPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #5
0
 public void Rotate(Quat q)
 {
     VixenLibPINVOKE.Matrix_Rotate__SWIG_1(swigCPtr, Quat.getCPtr(q));
     if (VixenLibPINVOKE.SWIGPendingException.Pending)
     {
         throw VixenLibPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #6
0
 public void Turn(Quat INPUT)
 {
     VixenLibPINVOKE.Model_Turn__SWIG_1(swigCPtr, Quat.getCPtr(INPUT));
     if (VixenLibPINVOKE.SWIGPendingException.Pending)
     {
         throw VixenLibPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #7
0
 public void SetLocalRotation(int i, Quat rot)
 {
     VixenLibPINVOKE.Pose_SetLocalRotation(swigCPtr, i, Quat.getCPtr(rot));
     if (VixenLibPINVOKE.SWIGPendingException.Pending)
     {
         throw VixenLibPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #8
0
        public Model MakeSkeleton(string name, Quat rotations, Vec3 positionsL, SWIGTYPE_p_float bonelengthsL, float bonewidth)
        {
            IntPtr cPtr = VixenLibPINVOKE.Skeleton_MakeSkeleton__SWIG_0(swigCPtr, name, Quat.getCPtr(rotations), Vec3.getCPtr(positionsL), SWIGTYPE_p_float.getCPtr(bonelengthsL), bonewidth);

            return((Model)SharedObj.MakeObject(cPtr, true));
        }
Beispiel #9
0
        public Shape MakeLimb(string name, Model parent, Quat jointrot, Vec3 jointpos, Appearance app, float bonelen, float bonewidth)
        {
            IntPtr cPtr = VixenLibPINVOKE.Skeleton_MakeLimb(swigCPtr, name, Model.getCPtr(parent), Quat.getCPtr(jointrot), Vec3.getCPtr(jointpos), Appearance.getCPtr(app), bonelen, bonewidth);

            if (VixenLibPINVOKE.SWIGPendingException.Pending)
            {
                throw VixenLibPINVOKE.SWIGPendingException.Retrieve();
            }
            return((Shape)SharedObj.MakeObject(cPtr, true));
        }
Beispiel #10
0
 public virtual void OnUserMove(int userid, int partindex, Vec3 pos, Quat dir)
 {
     VixenLibPINVOKE.BodyTracker_OnUserMove(swigCPtr, userid, partindex, Vec3.getCPtr(pos), Quat.getCPtr(dir));
     if (VixenLibPINVOKE.SWIGPendingException.Pending)
     {
         throw VixenLibPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #11
0
 public void GetWorldRotations(Quat rotations)
 {
     VixenLibPINVOKE.Pose_GetWorldRotations__SWIG_0(swigCPtr, Quat.getCPtr(rotations));
 }