コード例 #1
0
        // Initialize an object that is part of another object or deleted by another object.
        // These objects should not be deleted in the Dispose method of this wrapper class.
        protected internal void InitializeSubObject(IntPtr native, BulletObject owner)
        {
            Initialize(native);
#if BULLET_OBJECT_TRACKING
            Owner = owner;
#endif
            BulletObjectTracker.Add(this);
            GC.SuppressFinalize(this);
        }
コード例 #2
0
        protected internal void InitializeCollisionShape(IntPtr native, BulletObject owner = null)
        {
            if (owner != null)
            {
                InitializeSubObject(native, owner);
            }
            else
            {
                InitializeUserOwned(native);

                AllocateUnmanagedHandle();
            }
        }
コード例 #3
0
 internal IndexedMesh(IntPtr native, BulletObject owner)
 {
     InitializeSubObject(native, owner);
 }
コード例 #4
0
 internal EmptyAlgorithm(IntPtr native, BulletObject owner)
 {
     InitializeSubObject(native, owner);
 }
コード例 #5
0
 internal RotationalLimitMotor(IntPtr native, BulletObject owner)
 {
     InitializeSubObject(native, owner);
 }
コード例 #6
0
 internal Triangle(IntPtr native, BulletObject owner)
 {
     InitializeSubObject(native, owner);
 }
コード例 #7
0
 internal GImpactCollisionAlgorithm(IntPtr native, BulletObject owner)
 {
     InitializeSubObject(native, owner);
 }
コード例 #8
0
 internal MultiBody(IntPtr native, BulletObject owner)
 {
     InitializeSubObject(native, owner);
 }
コード例 #9
0
 internal PersistentManifold(IntPtr native, BulletObject owner)
 {
     InitializeSubObject(native, owner);
 }
コード例 #10
0
 internal TrimeshPrimitiveManager(IntPtr native, BulletObject owner)
 {
     InitializeSubObject(native, owner);
 }
 internal SphereTriangleCollisionAlgorithm(IntPtr native, BulletObject owner)
 {
     InitializeSubObject(native, owner);
 }
コード例 #12
0
 internal ManifoldResult(IntPtr native, BulletObject owner)
 {
     InitializeSubObject(native, owner);
 }
コード例 #13
0
 internal ConvexPolyhedron(IntPtr native, BulletObject owner)
 {
     InitializeSubObject(native, owner);
 }
コード例 #14
0
 internal OptimizedBvh(IntPtr native, BulletObject owner)
     : base(ConstructionInfo.Null)
 {
     InitializeSubObject(native, owner);
 }
コード例 #15
0
 internal GImpactQuantizedBvhNode(IntPtr native, BulletObject owner)
 {
     InitializeSubObject(native, owner);
 }
コード例 #16
0
 internal Aabb(IntPtr native, BulletObject owner)
 {
     InitializeSubObject(native, owner);
 }
コード例 #17
0
 internal PoolAllocator(IntPtr native, BulletObject owner)
 {
     InitializeSubObject(native, owner);
 }
コード例 #18
0
 internal CreateFunc(IntPtr native, BulletObject owner)
     : base(ConstructionInfo.Null)
 {
 }
コード例 #19
0
 internal SoftBodyConcaveCollisionAlgorithm(IntPtr native, BulletObject owner)
 {
     InitializeSubObject(native, owner);
 }
コード例 #20
0
 internal CreateFunc(IntPtr native, BulletObject owner)
     : base(ConstructionInfo.Null)
 {
     InitializeSubObject(native, owner);
 }
 internal SequentialImpulseConstraintSolver(IntPtr native, BulletObject owner)
 {
     InitializeSubObject(native, owner);
 }