Exemplo n.º 1
0
        public PxTriangleMeshGeometry(physx.PxTriangleMeshPtr mesh, physx.PxMeshScalePtr scaling, physx.PxMeshGeometryFlagsPtr flags)
        {
            physx.PxTriangleMeshPtr      pvk_in_mesh    = mesh;
            physx.PxMeshScalePtr         pvk_in_scaling = scaling;
            physx.PxMeshGeometryFlagsPtr pvk_in_flags   = flags;
            PxTriangleMeshGeometry       toInit;
            var pvk_in_this = &toInit;

            void_PxTriangleMeshGeometry_PxTriangleMeshGeometryPtr_Ctor_PxTriangleMeshPtr_PxMeshScalePtr_PxMeshGeometryFlagsPtr_(pvk_in_this, pvk_in_mesh, pvk_in_scaling, pvk_in_flags);
            this = toInit;
        }
Exemplo n.º 2
0
        public PxHeightFieldGeometry(physx.PxHeightFieldPtr hf, physx.PxMeshGeometryFlagsPtr flags, float heightScale_, float rowScale_, float columnScale_)
        {
            physx.PxHeightFieldPtr       pvk_in_hf    = hf;
            physx.PxMeshGeometryFlagsPtr pvk_in_flags = flags;
            float pvk_in_heightScale_ = heightScale_;
            float pvk_in_rowScale_    = rowScale_;
            float pvk_in_columnScale_ = columnScale_;
            PxHeightFieldGeometry toInit;
            var pvk_in_this = &toInit;

            void_PxHeightFieldGeometry_PxHeightFieldGeometryPtr_Ctor_PxHeightFieldPtr_PxMeshGeometryFlagsPtr_float_float_float_(pvk_in_this, pvk_in_hf, pvk_in_flags, pvk_in_heightScale_, pvk_in_rowScale_, pvk_in_columnScale_);
            this = toInit;
        }
 internal static extern void void_PxTriangleMeshGeometry_PxTriangleMeshGeometryPtr_Ctor_PxTriangleMeshPtr_PxMeshScalePtr_PxMeshGeometryFlagsPtr_(physx.PxTriangleMeshGeometry *pvk_this, physx.PxTriangleMeshPtr pvk_mesh, physx.PxMeshScalePtr pvk_scaling, physx.PxMeshGeometryFlagsPtr pvk_flags);
 internal static extern void void_PxHeightFieldGeometry_PxHeightFieldGeometryPtr_Ctor_PxHeightFieldPtr_PxMeshGeometryFlagsPtr_float_float_float_(physx.PxHeightFieldGeometry *pvk_this, physx.PxHeightFieldPtr pvk_hf, physx.PxMeshGeometryFlagsPtr pvk_flags, float pvk_heightScale_, float pvk_rowScale_, float pvk_columnScale_);