Universe.Physics.BulletSPlugin.BSAPIUnman.BuildConvexHullShapeFromMesh C# (CSharp) Method

BuildConvexHullShapeFromMesh() public method

public BuildConvexHullShapeFromMesh ( BulletWorld world, BulletShape meshShape ) : BulletShape
world BulletWorld
meshShape BulletShape
return BulletShape
        public override BulletShape BuildConvexHullShapeFromMesh(BulletWorld world, BulletShape meshShape)
        {
            BulletWorldUnman worldu = world as BulletWorldUnman;
            BulletShapeUnman shapeu = meshShape as BulletShapeUnman;
            return new BulletShapeUnman(
                    BSAPICPP.BuildConvexHullShapeFromMesh2(worldu.ptr, shapeu.ptr),
                    BSPhysicsShapeType.SHAPE_CONVEXHULL);
        }
BSAPIUnman