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; }
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; }
public virtual void drawShadow(SWIGTYPE_p_float m, SWIGTYPE_p_btVector3 extrusion, SWIGTYPE_p_btCollisionShape shape, SWIGTYPE_p_btVector3 worldBoundsMin, SWIGTYPE_p_btVector3 worldBoundsMax) { OpenGLSupportPINVOKE.GL_ShapeDrawer_drawShadow(swigCPtr, SWIGTYPE_p_float.getCPtr(m), SWIGTYPE_p_btVector3.getCPtr(extrusion), SWIGTYPE_p_btCollisionShape.getCPtr(shape), SWIGTYPE_p_btVector3.getCPtr(worldBoundsMin), SWIGTYPE_p_btVector3.getCPtr(worldBoundsMax)); if (OpenGLSupportPINVOKE.SWIGPendingException.Pending) { throw OpenGLSupportPINVOKE.SWIGPendingException.Retrieve(); } }
public virtual void shootBox(SWIGTYPE_p_btVector3 destination) { OpenGLSupportPINVOKE.DemoApplication_shootBox(swigCPtr, SWIGTYPE_p_btVector3.getCPtr(destination)); if (OpenGLSupportPINVOKE.SWIGPendingException.Pending) { throw OpenGLSupportPINVOKE.SWIGPendingException.Retrieve(); } }
public void setCameraUp(SWIGTYPE_p_btVector3 camUp) { OpenGLSupportPINVOKE.DemoApplication_setCameraUp(swigCPtr, SWIGTYPE_p_btVector3.getCPtr(camUp)); if (OpenGLSupportPINVOKE.SWIGPendingException.Pending) { throw OpenGLSupportPINVOKE.SWIGPendingException.Retrieve(); } }
// 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); }
public virtual void drawTriangle(SWIGTYPE_p_btVector3 a, SWIGTYPE_p_btVector3 b, SWIGTYPE_p_btVector3 c, SWIGTYPE_p_btVector3 color, float alpha) { OpenGLSupportPINVOKE.GLDebugDrawer_drawTriangle(swigCPtr, SWIGTYPE_p_btVector3.getCPtr(a), SWIGTYPE_p_btVector3.getCPtr(b), SWIGTYPE_p_btVector3.getCPtr(c), SWIGTYPE_p_btVector3.getCPtr(color), alpha); if (OpenGLSupportPINVOKE.SWIGPendingException.Pending) { throw OpenGLSupportPINVOKE.SWIGPendingException.Retrieve(); } }
public virtual void drawLine(SWIGTYPE_p_btVector3 from, SWIGTYPE_p_btVector3 to, SWIGTYPE_p_btVector3 color) { OpenGLSupportPINVOKE.GLDebugDrawer_drawLine__SWIG_1(swigCPtr, SWIGTYPE_p_btVector3.getCPtr(from), SWIGTYPE_p_btVector3.getCPtr(to), SWIGTYPE_p_btVector3.getCPtr(color)); if (OpenGLSupportPINVOKE.SWIGPendingException.Pending) { throw OpenGLSupportPINVOKE.SWIGPendingException.Retrieve(); } }
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(); }
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(); }
public void getAngularLowerLimit(SWIGTYPE_p_btVector3 angularLower) { BulletDynamicsPINVOKE.btGeneric6DofConstraint_getAngularLowerLimit(swigCPtr, SWIGTYPE_p_btVector3.getCPtr(angularLower)); if (BulletDynamicsPINVOKE.SWIGPendingException.Pending) throw BulletDynamicsPINVOKE.SWIGPendingException.Retrieve(); }
public SWIGTYPE_p_btVector3 getCameraTargetPosition() { SWIGTYPE_p_btVector3 ret = new SWIGTYPE_p_btVector3(OpenGLSupportPINVOKE.DemoApplication_getCameraTargetPosition(swigCPtr), true); return(ret); }
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(); }
internal static HandleRef getCPtr(SWIGTYPE_p_btVector3 obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }
public SWIGTYPE_p_btVector3 getRayTo(int x, int y) { SWIGTYPE_p_btVector3 ret = new SWIGTYPE_p_btVector3(OpenGLSupportPINVOKE.DemoApplication_getRayTo(swigCPtr, x, y), true); return(ret); }
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(); }
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(); }
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(); }
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(); }
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(); }
public SWIGTYPE_p_btVector3 getPlaneNormal() { SWIGTYPE_p_btVector3 ret = new SWIGTYPE_p_btVector3(BulletCollisionPINVOKE.btStaticPlaneShape_getPlaneNormal(swigCPtr), false); return ret; }
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(); }
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; }
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(); }
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; }
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(); }
public void setLinearUpperLimit(SWIGTYPE_p_btVector3 linearUpper) { BulletDynamicsPINVOKE.btGeneric6DofConstraint_setLinearUpperLimit(swigCPtr, SWIGTYPE_p_btVector3.getCPtr(linearUpper)); if (BulletDynamicsPINVOKE.SWIGPendingException.Pending) throw BulletDynamicsPINVOKE.SWIGPendingException.Retrieve(); }
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(); }
public virtual void drawSphere(SWIGTYPE_p_btVector3 p, float radius, SWIGTYPE_p_btVector3 color) { OpenGLSupportPINVOKE.GLDebugDrawer_drawSphere(swigCPtr, SWIGTYPE_p_btVector3.getCPtr(p), radius, SWIGTYPE_p_btVector3.getCPtr(color)); if (OpenGLSupportPINVOKE.SWIGPendingException.Pending) { throw OpenGLSupportPINVOKE.SWIGPendingException.Retrieve(); } }
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(); }
public virtual void drawContactPoint(SWIGTYPE_p_btVector3 PointOnB, SWIGTYPE_p_btVector3 normalOnB, float distance, int lifeTime, SWIGTYPE_p_btVector3 color) { OpenGLSupportPINVOKE.GLDebugDrawer_drawContactPoint(swigCPtr, SWIGTYPE_p_btVector3.getCPtr(PointOnB), SWIGTYPE_p_btVector3.getCPtr(normalOnB), distance, lifeTime, SWIGTYPE_p_btVector3.getCPtr(color)); if (OpenGLSupportPINVOKE.SWIGPendingException.Pending) { throw OpenGLSupportPINVOKE.SWIGPendingException.Retrieve(); } }
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(); }
public void performRaycast(SWIGTYPE_p_btTriangleCallback callback, SWIGTYPE_p_btVector3 raySource, SWIGTYPE_p_btVector3 rayTarget) { BulletCollisionPINVOKE.btBvhTriangleMeshShape_performRaycast(swigCPtr, SWIGTYPE_p_btTriangleCallback.getCPtr(callback), SWIGTYPE_p_btVector3.getCPtr(raySource), SWIGTYPE_p_btVector3.getCPtr(rayTarget)); if (BulletCollisionPINVOKE.SWIGPendingException.Pending) throw BulletCollisionPINVOKE.SWIGPendingException.Retrieve(); }
public btStaticPlaneShape(SWIGTYPE_p_btVector3 planeNormal, float planeConstant) : this(BulletCollisionPINVOKE.new_btStaticPlaneShape(SWIGTYPE_p_btVector3.getCPtr(planeNormal), planeConstant), true) { if (BulletCollisionPINVOKE.SWIGPendingException.Pending) throw BulletCollisionPINVOKE.SWIGPendingException.Retrieve(); }
public void refitTree(SWIGTYPE_p_btVector3 aabbMin, SWIGTYPE_p_btVector3 aabbMax) { BulletCollisionPINVOKE.btBvhTriangleMeshShape_refitTree(swigCPtr, SWIGTYPE_p_btVector3.getCPtr(aabbMin), SWIGTYPE_p_btVector3.getCPtr(aabbMax)); if (BulletCollisionPINVOKE.SWIGPendingException.Pending) throw BulletCollisionPINVOKE.SWIGPendingException.Retrieve(); }
public virtual void calculateLocalInertia(float mass, SWIGTYPE_p_btVector3 inertia) { BulletCollisionPINVOKE.btStaticPlaneShape_calculateLocalInertia(swigCPtr, mass, SWIGTYPE_p_btVector3.getCPtr(inertia)); if (BulletCollisionPINVOKE.SWIGPendingException.Pending) throw BulletCollisionPINVOKE.SWIGPendingException.Retrieve(); }
public void setOptimizedBvh(SWIGTYPE_p_btOptimizedBvh bvh, SWIGTYPE_p_btVector3 localScaling) { BulletCollisionPINVOKE.btBvhTriangleMeshShape_setOptimizedBvh__SWIG_0(swigCPtr, SWIGTYPE_p_btOptimizedBvh.getCPtr(bvh), SWIGTYPE_p_btVector3.getCPtr(localScaling)); if (BulletCollisionPINVOKE.SWIGPendingException.Pending) throw BulletCollisionPINVOKE.SWIGPendingException.Retrieve(); }
public virtual void getAabb(SWIGTYPE_p_btTransform t, SWIGTYPE_p_btVector3 aabbMin, SWIGTYPE_p_btVector3 aabbMax) { BulletCollisionPINVOKE.btStaticPlaneShape_getAabb(swigCPtr, SWIGTYPE_p_btTransform.getCPtr(t), SWIGTYPE_p_btVector3.getCPtr(aabbMin), SWIGTYPE_p_btVector3.getCPtr(aabbMax)); if (BulletCollisionPINVOKE.SWIGPendingException.Pending) throw BulletCollisionPINVOKE.SWIGPendingException.Retrieve(); }
public void project(SWIGTYPE_p_btTransform trans, SWIGTYPE_p_btVector3 dir, SWIGTYPE_p_float minProj, SWIGTYPE_p_float maxProj, SWIGTYPE_p_btVector3 witnesPtMin, SWIGTYPE_p_btVector3 witnesPtMax) { BulletCollisionPINVOKE.btConvexPolyhedron_project(swigCPtr, SWIGTYPE_p_btTransform.getCPtr(trans), SWIGTYPE_p_btVector3.getCPtr(dir), SWIGTYPE_p_float.getCPtr(minProj), SWIGTYPE_p_float.getCPtr(maxProj), SWIGTYPE_p_btVector3.getCPtr(witnesPtMin), SWIGTYPE_p_btVector3.getCPtr(witnesPtMax)); if (BulletCollisionPINVOKE.SWIGPendingException.Pending) throw BulletCollisionPINVOKE.SWIGPendingException.Retrieve(); }
public virtual SWIGTYPE_p_btVector3 getLocalScaling() { SWIGTYPE_p_btVector3 ret = new SWIGTYPE_p_btVector3(BulletCollisionPINVOKE.btStaticPlaneShape_getLocalScaling(swigCPtr), false); return ret; }