本文整理汇总了C#中BulletCSharp.SWIGTYPE_p_btTransform类的典型用法代码示例。如果您正苦于以下问题:C# SWIGTYPE_p_btTransform类的具体用法?C# SWIGTYPE_p_btTransform怎么用?C# SWIGTYPE_p_btTransform使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
SWIGTYPE_p_btTransform类属于BulletCSharp命名空间,在下文中一共展示了SWIGTYPE_p_btTransform类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: getCenterOfMassTransform
public SWIGTYPE_p_btTransform getCenterOfMassTransform() {
SWIGTYPE_p_btTransform ret = new SWIGTYPE_p_btTransform(BulletDynamicsPINVOKE.btRigidBody_getCenterOfMassTransform(swigCPtr), false);
return ret;
}
示例2: setFrames
public void setFrames(SWIGTYPE_p_btTransform frameA, SWIGTYPE_p_btTransform frameB)
{
BulletDynamicsPINVOKE.btGeneric6DofConstraint_setFrames(swigCPtr, SWIGTYPE_p_btTransform.getCPtr(frameA), SWIGTYPE_p_btTransform.getCPtr(frameB));
if (BulletDynamicsPINVOKE.SWIGPendingException.Pending) throw BulletDynamicsPINVOKE.SWIGPendingException.Retrieve();
}
示例3: calculateTransforms
public void calculateTransforms(SWIGTYPE_p_btTransform transA, SWIGTYPE_p_btTransform transB)
{
BulletDynamicsPINVOKE.btGeneric6DofConstraint_calculateTransforms__SWIG_0(swigCPtr, SWIGTYPE_p_btTransform.getCPtr(transA), SWIGTYPE_p_btTransform.getCPtr(transB));
if (BulletDynamicsPINVOKE.SWIGPendingException.Pending) throw BulletDynamicsPINVOKE.SWIGPendingException.Retrieve();
}
示例4: getCalculatedTransformB
public SWIGTYPE_p_btTransform getCalculatedTransformB()
{
SWIGTYPE_p_btTransform ret = new SWIGTYPE_p_btTransform(BulletDynamicsPINVOKE.btGeneric6DofConstraint_getCalculatedTransformB(swigCPtr), false);
return ret;
}
示例5: 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();
}
示例6: objectQuerySingle
public static void objectQuerySingle(SWIGTYPE_p_btConvexShape castShape, SWIGTYPE_p_btTransform rayFromTrans, SWIGTYPE_p_btTransform rayToTrans, btCollisionObject collisionObject, SWIGTYPE_p_btCollisionShape collisionShape, SWIGTYPE_p_btTransform colObjWorldTransform, SWIGTYPE_p_btCollisionWorld__ConvexResultCallback resultCallback, float allowedPenetration) {
BulletCollisionPINVOKE.btCollisionWorld_objectQuerySingle(SWIGTYPE_p_btConvexShape.getCPtr(castShape), SWIGTYPE_p_btTransform.getCPtr(rayFromTrans), SWIGTYPE_p_btTransform.getCPtr(rayToTrans), btCollisionObject.getCPtr(collisionObject), SWIGTYPE_p_btCollisionShape.getCPtr(collisionShape), SWIGTYPE_p_btTransform.getCPtr(colObjWorldTransform), SWIGTYPE_p_btCollisionWorld__ConvexResultCallback.getCPtr(resultCallback), allowedPenetration);
if (BulletCollisionPINVOKE.SWIGPendingException.Pending) throw BulletCollisionPINVOKE.SWIGPendingException.Retrieve();
}
示例7: 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();
}
示例8: calcAngleInfo2
public void calcAngleInfo2(SWIGTYPE_p_btTransform transA, SWIGTYPE_p_btTransform transB, SWIGTYPE_p_btMatrix3x3 invInertiaWorldA, SWIGTYPE_p_btMatrix3x3 invInertiaWorldB)
{
BulletDynamicsPINVOKE.btConeTwistConstraint_calcAngleInfo2(swigCPtr, SWIGTYPE_p_btTransform.getCPtr(transA), SWIGTYPE_p_btTransform.getCPtr(transB), SWIGTYPE_p_btMatrix3x3.getCPtr(invInertiaWorldA), SWIGTYPE_p_btMatrix3x3.getCPtr(invInertiaWorldB));
if (BulletDynamicsPINVOKE.SWIGPendingException.Pending) throw BulletDynamicsPINVOKE.SWIGPendingException.Retrieve();
}
示例9: getAFrame
public SWIGTYPE_p_btTransform getAFrame()
{
SWIGTYPE_p_btTransform ret = new SWIGTYPE_p_btTransform(BulletDynamicsPINVOKE.btConeTwistConstraint_getAFrame(swigCPtr), false);
return ret;
}
示例10: getInfo2NonVirtual
public void getInfo2NonVirtual(btConstraintInfo2 info, SWIGTYPE_p_btTransform transA, SWIGTYPE_p_btTransform transB, SWIGTYPE_p_btMatrix3x3 invInertiaWorldA, SWIGTYPE_p_btMatrix3x3 invInertiaWorldB)
{
BulletDynamicsPINVOKE.btConeTwistConstraint_getInfo2NonVirtual(swigCPtr, btConstraintInfo2.getCPtr(info), SWIGTYPE_p_btTransform.getCPtr(transA), SWIGTYPE_p_btTransform.getCPtr(transB), SWIGTYPE_p_btMatrix3x3.getCPtr(invInertiaWorldA), SWIGTYPE_p_btMatrix3x3.getCPtr(invInertiaWorldB));
if (BulletDynamicsPINVOKE.SWIGPendingException.Pending) throw BulletDynamicsPINVOKE.SWIGPendingException.Retrieve();
}
示例11: btConeTwistConstraint
public btConeTwistConstraint(btRigidBody rbA, SWIGTYPE_p_btTransform rbAFrame)
: this(BulletDynamicsPINVOKE.new_btConeTwistConstraint__SWIG_1(btRigidBody.getCPtr(rbA), SWIGTYPE_p_btTransform.getCPtr(rbAFrame)), true)
{
if (BulletDynamicsPINVOKE.SWIGPendingException.Pending) throw BulletDynamicsPINVOKE.SWIGPendingException.Retrieve();
}
示例12: calculatePrincipalAxisTransform
public void calculatePrincipalAxisTransform(SWIGTYPE_p_btTransform principal, SWIGTYPE_p_btVector3 inertia, SWIGTYPE_p_float volume)
{
BulletCollisionPINVOKE.btConvexTriangleMeshShape_calculatePrincipalAxisTransform(swigCPtr, SWIGTYPE_p_btTransform.getCPtr(principal), SWIGTYPE_p_btVector3.getCPtr(inertia), SWIGTYPE_p_float.getCPtr(volume));
if (BulletCollisionPINVOKE.SWIGPendingException.Pending) throw BulletCollisionPINVOKE.SWIGPendingException.Retrieve();
}
示例13: predictIntegratedTransform
public void predictIntegratedTransform(float step, SWIGTYPE_p_btTransform predictedTransform) {
BulletDynamicsPINVOKE.btRigidBody_predictIntegratedTransform(swigCPtr, step, SWIGTYPE_p_btTransform.getCPtr(predictedTransform));
if (BulletDynamicsPINVOKE.SWIGPendingException.Pending) throw BulletDynamicsPINVOKE.SWIGPendingException.Retrieve();
}
示例14: proceedToTransform
public void proceedToTransform(SWIGTYPE_p_btTransform newTrans) {
BulletDynamicsPINVOKE.btRigidBody_proceedToTransform(swigCPtr, SWIGTYPE_p_btTransform.getCPtr(newTrans));
if (BulletDynamicsPINVOKE.SWIGPendingException.Pending) throw BulletDynamicsPINVOKE.SWIGPendingException.Retrieve();
}
示例15: rayTestSingle
public static void rayTestSingle(SWIGTYPE_p_btTransform rayFromTrans, SWIGTYPE_p_btTransform rayToTrans, btCollisionObject collisionObject, SWIGTYPE_p_btCollisionShape collisionShape, SWIGTYPE_p_btTransform colObjWorldTransform, SWIGTYPE_p_btCollisionWorld__RayResultCallback resultCallback) {
BulletCollisionPINVOKE.btCollisionWorld_rayTestSingle(SWIGTYPE_p_btTransform.getCPtr(rayFromTrans), SWIGTYPE_p_btTransform.getCPtr(rayToTrans), btCollisionObject.getCPtr(collisionObject), SWIGTYPE_p_btCollisionShape.getCPtr(collisionShape), SWIGTYPE_p_btTransform.getCPtr(colObjWorldTransform), SWIGTYPE_p_btCollisionWorld__RayResultCallback.getCPtr(resultCallback));
if (BulletCollisionPINVOKE.SWIGPendingException.Pending) throw BulletCollisionPINVOKE.SWIGPendingException.Retrieve();
}