当前位置: 首页>>代码示例>>C#>>正文


C# SWIGTYPE_p_btVector3类代码示例

本文整理汇总了C#中SWIGTYPE_p_btVector3的典型用法代码示例。如果您正苦于以下问题:C# SWIGTYPE_p_btVector3类的具体用法?C# SWIGTYPE_p_btVector3怎么用?C# SWIGTYPE_p_btVector3使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


SWIGTYPE_p_btVector3类属于命名空间,在下文中一共展示了SWIGTYPE_p_btVector3类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: castRay

 public virtual SWIGTYPE_p_void castRay(SWIGTYPE_p_btVector3 from, SWIGTYPE_p_btVector3 to, btVehicleRaycasterResult result)
 {
     IntPtr cPtr = BulletDynamicsPINVOKE.btDefaultVehicleRaycaster_castRay(swigCPtr, SWIGTYPE_p_btVector3.getCPtr(from), SWIGTYPE_p_btVector3.getCPtr(to), btVehicleRaycasterResult.getCPtr(result));
     SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false);
     if (BulletDynamicsPINVOKE.SWIGPendingException.Pending) throw BulletDynamicsPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
开发者ID:sanglin307,项目名称:BulletUnity3D,代码行数:7,代码来源:btDefaultVehicleRaycaster.cs

示例2: createProxy

 public virtual SWIGTYPE_p_btBroadphaseProxy createProxy(SWIGTYPE_p_btVector3 aabbMin, SWIGTYPE_p_btVector3 aabbMax, int shapeType, SWIGTYPE_p_void userPtr, short collisionFilterGroup, short collisionFilterMask, SWIGTYPE_p_btDispatcher dispatcher, SWIGTYPE_p_void multiSapProxy)
 {
     IntPtr cPtr = BulletCollisionPINVOKE.btSimpleBroadphase_createProxy(swigCPtr, SWIGTYPE_p_btVector3.getCPtr(aabbMin), SWIGTYPE_p_btVector3.getCPtr(aabbMax), shapeType, SWIGTYPE_p_void.getCPtr(userPtr), collisionFilterGroup, collisionFilterMask, SWIGTYPE_p_btDispatcher.getCPtr(dispatcher), SWIGTYPE_p_void.getCPtr(multiSapProxy));
     SWIGTYPE_p_btBroadphaseProxy ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_btBroadphaseProxy(cPtr, false);
     if (BulletCollisionPINVOKE.SWIGPendingException.Pending) throw BulletCollisionPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
开发者ID:sanglin307,项目名称:BulletUnity3D,代码行数:7,代码来源:btSimpleBroadphase.cs

示例3: GetObjectFromSwigPtr

        // convert swigtype to object , linyuan add
        public static btVector3 GetObjectFromSwigPtr(SWIGTYPE_p_btVector3 ptr)
        {
            HandleRef handle = SWIGTYPE_p_btVector3.getCPtr(ptr);
              if (handle.Wrapper == null || handle.Handle == IntPtr.Zero)
              {
              return null;
              }

              return new btVector3(handle.Handle, false);
        }
开发者ID:sanglin307,项目名称:BulletUnity3D,代码行数:11,代码来源:btVector3.cs

示例4: btBvhTriangleMeshShape

 public btBvhTriangleMeshShape(SWIGTYPE_p_btStridingMeshInterface meshInterface, bool useQuantizedAabbCompression, SWIGTYPE_p_btVector3 bvhAabbMin, SWIGTYPE_p_btVector3 bvhAabbMax)
     : this(BulletCollisionPINVOKE.new_btBvhTriangleMeshShape__SWIG_3(SWIGTYPE_p_btStridingMeshInterface.getCPtr(meshInterface), useQuantizedAabbCompression, SWIGTYPE_p_btVector3.getCPtr(bvhAabbMin), SWIGTYPE_p_btVector3.getCPtr(bvhAabbMax)), true)
 {
     if (BulletCollisionPINVOKE.SWIGPendingException.Pending) throw BulletCollisionPINVOKE.SWIGPendingException.Retrieve();
 }
开发者ID:sanglin307,项目名称:BulletUnity3D,代码行数:5,代码来源:btBvhTriangleMeshShape.cs

示例5: setLocalScaling

 public virtual void setLocalScaling(SWIGTYPE_p_btVector3 scaling)
 {
     BulletCollisionPINVOKE.btBvhTriangleMeshShape_setLocalScaling(swigCPtr, SWIGTYPE_p_btVector3.getCPtr(scaling));
     if (BulletCollisionPINVOKE.SWIGPendingException.Pending) throw BulletCollisionPINVOKE.SWIGPendingException.Retrieve();
 }
开发者ID:sanglin307,项目名称:BulletUnity3D,代码行数:5,代码来源:btBvhTriangleMeshShape.cs

示例6: processAllTriangles

 public virtual void processAllTriangles(SWIGTYPE_p_btTriangleCallback callback, SWIGTYPE_p_btVector3 aabbMin, SWIGTYPE_p_btVector3 aabbMax)
 {
     BulletCollisionPINVOKE.btBvhTriangleMeshShape_processAllTriangles(swigCPtr, SWIGTYPE_p_btTriangleCallback.getCPtr(callback), SWIGTYPE_p_btVector3.getCPtr(aabbMin), SWIGTYPE_p_btVector3.getCPtr(aabbMax));
     if (BulletCollisionPINVOKE.SWIGPendingException.Pending) throw BulletCollisionPINVOKE.SWIGPendingException.Retrieve();
 }
开发者ID:sanglin307,项目名称:BulletUnity3D,代码行数:5,代码来源:btBvhTriangleMeshShape.cs

示例7: performConvexcast

 public void performConvexcast(SWIGTYPE_p_btTriangleCallback callback, SWIGTYPE_p_btVector3 boxSource, SWIGTYPE_p_btVector3 boxTarget, SWIGTYPE_p_btVector3 boxMin, SWIGTYPE_p_btVector3 boxMax)
 {
     BulletCollisionPINVOKE.btBvhTriangleMeshShape_performConvexcast(swigCPtr, SWIGTYPE_p_btTriangleCallback.getCPtr(callback), SWIGTYPE_p_btVector3.getCPtr(boxSource), SWIGTYPE_p_btVector3.getCPtr(boxTarget), SWIGTYPE_p_btVector3.getCPtr(boxMin), SWIGTYPE_p_btVector3.getCPtr(boxMax));
     if (BulletCollisionPINVOKE.SWIGPendingException.Pending) throw BulletCollisionPINVOKE.SWIGPendingException.Retrieve();
 }
开发者ID:sanglin307,项目名称:BulletUnity3D,代码行数:5,代码来源:btBvhTriangleMeshShape.cs

示例8: setAxis

 public void setAxis(SWIGTYPE_p_btVector3 axis1, SWIGTYPE_p_btVector3 axis2)
 {
     BulletDynamicsPINVOKE.btGeneric6DofConstraint_setAxis(swigCPtr, SWIGTYPE_p_btVector3.getCPtr(axis1), SWIGTYPE_p_btVector3.getCPtr(axis2));
     if (BulletDynamicsPINVOKE.SWIGPendingException.Pending) throw BulletDynamicsPINVOKE.SWIGPendingException.Retrieve();
 }
开发者ID:sanglin307,项目名称:BulletUnity3D,代码行数:5,代码来源:btGeneric6DofConstraint.cs

示例9: getInfo2NonVirtual

 public void getInfo2NonVirtual(btConstraintInfo2 info, SWIGTYPE_p_btTransform transA, SWIGTYPE_p_btTransform transB, SWIGTYPE_p_btVector3 linVelA, SWIGTYPE_p_btVector3 linVelB, SWIGTYPE_p_btVector3 angVelA, SWIGTYPE_p_btVector3 angVelB)
 {
     BulletDynamicsPINVOKE.btGeneric6DofConstraint_getInfo2NonVirtual(swigCPtr, btConstraintInfo2.getCPtr(info), SWIGTYPE_p_btTransform.getCPtr(transA), SWIGTYPE_p_btTransform.getCPtr(transB), SWIGTYPE_p_btVector3.getCPtr(linVelA), SWIGTYPE_p_btVector3.getCPtr(linVelB), SWIGTYPE_p_btVector3.getCPtr(angVelA), SWIGTYPE_p_btVector3.getCPtr(angVelB));
     if (BulletDynamicsPINVOKE.SWIGPendingException.Pending) throw BulletDynamicsPINVOKE.SWIGPendingException.Retrieve();
 }
开发者ID:sanglin307,项目名称:BulletUnity3D,代码行数:5,代码来源:btGeneric6DofConstraint.cs

示例10: rayTest

 public virtual void rayTest(SWIGTYPE_p_btVector3 rayFromWorld, SWIGTYPE_p_btVector3 rayToWorld, SWIGTYPE_p_btCollisionWorld__RayResultCallback resultCallback) {
   BulletCollisionPINVOKE.btCollisionWorld_rayTest(swigCPtr, SWIGTYPE_p_btVector3.getCPtr(rayFromWorld), SWIGTYPE_p_btVector3.getCPtr(rayToWorld), SWIGTYPE_p_btCollisionWorld__RayResultCallback.getCPtr(resultCallback));
   if (BulletCollisionPINVOKE.SWIGPendingException.Pending) throw BulletCollisionPINVOKE.SWIGPendingException.Retrieve();
 }
开发者ID:sanglin307,项目名称:bulletlib-2.81-rev2613,代码行数:4,代码来源:btCollisionWorld.cs

示例11: setAabbForceUpdate

 public void setAabbForceUpdate(SWIGTYPE_p_btBroadphaseProxy absproxy, SWIGTYPE_p_btVector3 aabbMin, SWIGTYPE_p_btVector3 aabbMax, SWIGTYPE_p_btDispatcher arg3) {
   BulletCollisionPINVOKE.btDbvtBroadphase_setAabbForceUpdate(swigCPtr, SWIGTYPE_p_btBroadphaseProxy.getCPtr(absproxy), SWIGTYPE_p_btVector3.getCPtr(aabbMin), SWIGTYPE_p_btVector3.getCPtr(aabbMax), SWIGTYPE_p_btDispatcher.getCPtr(arg3));
   if (BulletCollisionPINVOKE.SWIGPendingException.Pending) throw BulletCollisionPINVOKE.SWIGPendingException.Retrieve();
 }
开发者ID:sanglin307,项目名称:bulletlib-2.81-rev2613,代码行数:4,代码来源:btDbvtBroadphase.cs

示例12: getBroadphaseAabb

 public virtual void getBroadphaseAabb(SWIGTYPE_p_btVector3 aabbMin, SWIGTYPE_p_btVector3 aabbMax) {
   BulletCollisionPINVOKE.btDbvtBroadphase_getBroadphaseAabb(swigCPtr, SWIGTYPE_p_btVector3.getCPtr(aabbMin), SWIGTYPE_p_btVector3.getCPtr(aabbMax));
   if (BulletCollisionPINVOKE.SWIGPendingException.Pending) throw BulletCollisionPINVOKE.SWIGPendingException.Retrieve();
 }
开发者ID:sanglin307,项目名称:bulletlib-2.81-rev2613,代码行数:4,代码来源:btDbvtBroadphase.cs

示例13: aabbTest

 public virtual void aabbTest(SWIGTYPE_p_btVector3 aabbMin, SWIGTYPE_p_btVector3 aabbMax, SWIGTYPE_p_btBroadphaseAabbCallback callback) {
   BulletCollisionPINVOKE.btDbvtBroadphase_aabbTest(swigCPtr, SWIGTYPE_p_btVector3.getCPtr(aabbMin), SWIGTYPE_p_btVector3.getCPtr(aabbMax), SWIGTYPE_p_btBroadphaseAabbCallback.getCPtr(callback));
   if (BulletCollisionPINVOKE.SWIGPendingException.Pending) throw BulletCollisionPINVOKE.SWIGPendingException.Retrieve();
 }
开发者ID:sanglin307,项目名称:bulletlib-2.81-rev2613,代码行数:4,代码来源:btDbvtBroadphase.cs

示例14: rayTest

 public virtual void rayTest(SWIGTYPE_p_btVector3 rayFrom, SWIGTYPE_p_btVector3 rayTo, SWIGTYPE_p_btBroadphaseRayCallback rayCallback) {
   BulletCollisionPINVOKE.btDbvtBroadphase_rayTest__SWIG_2(swigCPtr, SWIGTYPE_p_btVector3.getCPtr(rayFrom), SWIGTYPE_p_btVector3.getCPtr(rayTo), SWIGTYPE_p_btBroadphaseRayCallback.getCPtr(rayCallback));
   if (BulletCollisionPINVOKE.SWIGPendingException.Pending) throw BulletCollisionPINVOKE.SWIGPendingException.Retrieve();
 }
开发者ID:sanglin307,项目名称:bulletlib-2.81-rev2613,代码行数:4,代码来源:btDbvtBroadphase.cs

示例15: setAabb

 public virtual void setAabb(SWIGTYPE_p_btBroadphaseProxy proxy, SWIGTYPE_p_btVector3 aabbMin, SWIGTYPE_p_btVector3 aabbMax, SWIGTYPE_p_btDispatcher dispatcher) {
   BulletCollisionPINVOKE.btDbvtBroadphase_setAabb(swigCPtr, SWIGTYPE_p_btBroadphaseProxy.getCPtr(proxy), SWIGTYPE_p_btVector3.getCPtr(aabbMin), SWIGTYPE_p_btVector3.getCPtr(aabbMax), SWIGTYPE_p_btDispatcher.getCPtr(dispatcher));
   if (BulletCollisionPINVOKE.SWIGPendingException.Pending) throw BulletCollisionPINVOKE.SWIGPendingException.Retrieve();
 }
开发者ID:sanglin307,项目名称:bulletlib-2.81-rev2613,代码行数:4,代码来源:btDbvtBroadphase.cs


注:本文中的SWIGTYPE_p_btVector3类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。