• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C# SWIGTYPE_p_btVector3类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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


示例16: getAngularLowerLimit

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


示例17: getAxis

 public SWIGTYPE_p_btVector3 getAxis(int axis_index)
 {
     SWIGTYPE_p_btVector3 ret = new SWIGTYPE_p_btVector3(BulletDynamicsPINVOKE.btGeneric6DofConstraint_getAxis(swigCPtr, axis_index), true);
     return ret;
 }
开发者ID:sanglin307,项目名称:BulletUnity3D,代码行数:5,代码来源:btGeneric6DofConstraint.cs


示例18: debugDrawObject

 public virtual void debugDrawObject(SWIGTYPE_p_btTransform worldTransform, SWIGTYPE_p_btCollisionShape shape, SWIGTYPE_p_btVector3 color) {
   BulletCollisionPINVOKE.btCollisionWorld_debugDrawObject(swigCPtr, SWIGTYPE_p_btTransform.getCPtr(worldTransform), SWIGTYPE_p_btCollisionShape.getCPtr(shape), SWIGTYPE_p_btVector3.getCPtr(color));
   if (BulletCollisionPINVOKE.SWIGPendingException.Pending) throw BulletCollisionPINVOKE.SWIGPendingException.Retrieve();
 }
开发者ID:sanglin307,项目名称:bulletlib-2.81-rev2613,代码行数:4,代码来源:btCollisionWorld.cs


示例19: get_limit_motor_info2

 public int get_limit_motor_info2(btRotationalLimitMotor limot, SWIGTYPE_p_btTransform transA, SWIGTYPE_p_btTransform transB, SWIGTYPE_p_btVector3 linVelA, SWIGTYPE_p_btVector3 linVelB, SWIGTYPE_p_btVector3 angVelA, SWIGTYPE_p_btVector3 angVelB, btConstraintInfo2 info, int row, SWIGTYPE_p_btVector3 ax1, int rotational)
 {
     int ret = BulletDynamicsPINVOKE.btGeneric6DofConstraint_get_limit_motor_info2__SWIG_1(swigCPtr, btRotationalLimitMotor.getCPtr(limot), 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), btConstraintInfo2.getCPtr(info), row, SWIGTYPE_p_btVector3.getCPtr(ax1), rotational);
     if (BulletDynamicsPINVOKE.SWIGPendingException.Pending) throw BulletDynamicsPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
开发者ID:sanglin307,项目名称:BulletUnity3D,代码行数:6,代码来源:btGeneric6DofConstraint.cs


示例20: btDbvtProxy

 public btDbvtProxy(SWIGTYPE_p_btVector3 aabbMin, SWIGTYPE_p_btVector3 aabbMax, SWIGTYPE_p_void userPtr, short collisionFilterGroup, short collisionFilterMask)
     : this(BulletCollisionPINVOKE.new_btDbvtProxy(SWIGTYPE_p_btVector3.getCPtr(aabbMin), SWIGTYPE_p_btVector3.getCPtr(aabbMax), SWIGTYPE_p_void.getCPtr(userPtr), collisionFilterGroup, collisionFilterMask), true)
 {
     if (BulletCollisionPINVOKE.SWIGPendingException.Pending) throw BulletCollisionPINVOKE.SWIGPendingException.Retrieve();
 }
开发者ID:sanglin307,项目名称:BulletUnity3D,代码行数:5,代码来源:btDbvtProxy.cs



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# SWIGTYPE_p_double类代码示例发布时间:2022-05-24
下一篇:
C# SWIGStringDelegate类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap