BulletCSharp.SWIGTYPE_p_btCollisionShape.getCPtr C# (CSharp) Method

getCPtr() static private method

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

Usage Example

コード例 #1
0
 public btRigidBodyConstructionInfo(float mass, SWIGTYPE_p_btMotionState motionState, SWIGTYPE_p_btCollisionShape collisionShape) : this(BulletDynamicsPINVOKE.new_btRigidBodyConstructionInfo__SWIG_1(mass, SWIGTYPE_p_btMotionState.getCPtr(motionState), SWIGTYPE_p_btCollisionShape.getCPtr(collisionShape)), true)
 {
 }
All Usage Examples Of BulletCSharp.SWIGTYPE_p_btCollisionShape::getCPtr
SWIGTYPE_p_btCollisionShape