BulletCSharp.SWIGTYPE_p_btQuaternion.getCPtr C# (CSharp) Method

getCPtr() static private method

static private getCPtr ( SWIGTYPE_p_btQuaternion obj ) : HandleRef
obj SWIGTYPE_p_btQuaternion
return System.Runtime.InteropServices.HandleRef
        internal static HandleRef getCPtr(SWIGTYPE_p_btQuaternion obj)
        {
            return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
        }

Usage Example

Example #1
0
 public void setMotorTarget(SWIGTYPE_p_btQuaternion q)
 {
     BulletDynamicsPINVOKE.btConeTwistConstraint_setMotorTarget(swigCPtr, SWIGTYPE_p_btQuaternion.getCPtr(q));
     if (BulletDynamicsPINVOKE.SWIGPendingException.Pending)
     {
         throw BulletDynamicsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
All Usage Examples Of BulletCSharp.SWIGTYPE_p_btQuaternion::getCPtr
SWIGTYPE_p_btQuaternion